!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=224)}([,,,function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"h",(function(){return a})),n.d(t,"g",(function(){return s})),n.d(t,"f",(function(){return c})),n.d(t,"i",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return h}));Object.freeze({LAST_RECORDING_ACTIVITY_STORE_DEBOUNCE:5e3,MAX_TIME_SINCE_LAST_RECORDING_ACTIVITY_IN_SESSION:12e4});var r=window.hjLazyModules,i={SCRIPT:"js",STYLESHEET:"css"},o="https://hotjar.com",a=(Object.freeze({id:null,selector_version:2}),60),s=60*a,c=24*s,u=365*c,l=a/2,h=4},function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){return e+=t}},c=function(e){return function(e){for(var t,n=arguments.length,i=new Array(n>1?n-1:0),o=1;o0&&void 0!==arguments[0]||s(45887);return Math.floor(1e8*Math.random())}()),e.title="_hjSafeContext",e.tabIndex=-1,e.setAttribute("aria-hidden","true"),e.src="about:blank",e.style.setProperty("display","none","important"),e.style.setProperty("width","1px","important"),e.style.setProperty("height","1px","important"),e.style.setProperty("opacity","0","important"),e.style.setProperty("pointer-events","none","important"),document.body.appendChild(e),e}},l=function(e,t){try{if(!o){var n=u();if(!n)return c("Unable to access an IFrame context, using default property."),e;o=n}var r=("function"==typeof e?e.name:t)||t;if(!r)return c("Unable to name property or missing fallbackName"),e;if(!o.contentWindow)return c("Unable to access contentWindow property"),e;var i=o.contentWindow[r];return i||(c("Unable to access property with name [".concat(r,"] from an IFrame context")),e)}catch(t){return c("An unexpected error occurred".concat(t instanceof Error?": ".concat(t.message):"",". Using default constructor")),e}},h=l(Date,"Date"),d=l(encodeURIComponent,"encodeURIComponent"),f=l(decodeURIComponent,"decodeURLComponent"),g=l(btoa,"btoa"),p=l(atob,"atob"),v=l(escape,"escape"),m=l(unescape,"unescape")},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(19),i=n.n(r),o=n(3),a=n(34),s=n(4),c=function(e,t){if(!e)return null;var n=new s.a((new s.a).getTime()+1e3*e);if(t){var r=new s.a;r.setHours(23),r.setMinutes(59),r.setSeconds(59),r.setMilliseconds(999),n.setTime(Math.min(n,r))}return n};function u(e){var t=this,n=e.key,r=e.supportSubdomains,s=void 0!==r&&r,c=e.ttlSeconds,u=void 0===c?o.i:c,l=e.shouldSync,h=void 0===l||l,d=e.keepAliveSeconds,f=void 0===d?0:d,g=e.shouldExtendExpiryOnActivity,p=void 0!==g&&g,v=e.shouldExpireAtMidnight,m=void 0!==v&&v,y=e.checkExpiry,j=void 0===y?null:y;this.key=n,this.ttlSeconds=u,this.shouldSync=h,this.keepAliveSeconds=f,this.shouldExpireAtMidnight=m,this.hasExceededCookieMaxDuration=!1,this.isSessionOnly=0===this.ttlSeconds,this.supportSubdomains=s,this.ttlSeconds>0&&(this.activeRefreshTimerId=null,this.keepAliveSeconds>0&&setInterval((function(){return t.refreshExpiryWithThrottling()}),1e3*f),p&&(document.addEventListener("click",(function(){return t.refreshExpiryWithThrottling(j)}),!1),document.addEventListener("mousemove",(function(){return t.refreshExpiryWithThrottling(j)}),!1),document.addEventListener("keypress",(function(){return t.refreshExpiryWithThrottling(j)}),!1),document.addEventListener("scroll",(function(){return t.refreshExpiryWithThrottling(j)}),!1),document.addEventListener("visibilitychange",(function(){return t.refreshExpiryWithThrottling(j)}),!1))),this.cookie=i.a.withAttributes(function(e){var t={sameSite:"None",secure:!0};if(e){var n=window.location.hostname;t.domain=Object(a.getMidLevelDomain)(n)}return t}(s))}function l(e){var t=e.key;this.key=t}function h(e){u.call(this,e)}u.prototype.getKey=function(){return this.key},u.prototype.get=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.resetExpiry,n=void 0!==t&&t;try{var r=this.cookie.get(this.key)||null;if(!this.isSessionOnly&&this.shouldSync&&(r=this.sync(r)),n&&this.ttlSeconds&&r){var i=c(this.ttlSeconds,this.shouldExpireAtMidnight);this.cookie.set(this.key,r,{expires:i})}return r}catch(e){return hj.log.debug("Cookie Error: ".concat(e.message),"cookies"),void hj.metrics.count("session-rejection",{tag:{reason:"cookies"},extraTags:{cookie:this.key,message:e.message}})}},u.prototype._setCookie=function(e){var t=c(this.ttlSeconds,this.shouldExpireAtMidnight);this.cookie.set(this.key,e,{expires:t})},u.prototype._setLocalStorage=function(e){m.canUseLocalStorage()&&window.localStorage.setItem(this.key,e)},u.prototype._getLocalStorage=function(){if(m.canUseLocalStorage())return window.localStorage.getItem(this.key)},u.prototype._removeLocalStorage=function(){m.canUseLocalStorage()&&window.localStorage.removeItem(this.key)},u.prototype.set=function(e,t){this._setCookie(e),!t&&this.shouldSync&&(this.isSessionOnly||this._setLocalStorage(e))},u.prototype.setEncoded=function(e,t){e!==decodeURIComponent(e)&&(e=decodeURIComponent(e)),this._setCookie(e);var n=encodeURIComponent(e);!t&&this.shouldSync&&(this.isSessionOnly||this._setLocalStorage(n))},u.prototype.clear=function(){this.cookie.remove(this.key),this.isSessionOnly||this._removeLocalStorage()},u.prototype.sync=function(e){if(!m.canUseLocalStorage()||!this.shouldSync)return e;var t=this._getLocalStorage(),n=e;return e?this._setLocalStorage(e):t&&!e&&(this.set(t,!0),n=t),n},u.prototype.refreshExpiryWithThrottling=function(e){var t=this;this.activeRefreshTimerId||this.hasExceededCookieMaxDuration||(this.activeRefreshTimerId=setTimeout((function(){t.hasExceededCookieMaxDuration=e&&e(t.clear.bind(t)),t.hasExceededCookieMaxDuration||t.get({resetExpiry:!0}),t.activeRefreshTimerId=null}),1e3*o.a))},l.prototype.getKey=function(){return this.key},l.prototype.get=function(){return this._getLocalStorage()},l.prototype.set=function(e){this._setLocalStorage(e)},l.prototype.clear=function(){this._removeLocalStorage()},l.prototype._setLocalStorage=function(e){m.canUseLocalStorage()&&window.localStorage.setItem(this.key,e)},l.prototype._getLocalStorage=function(){if(m.canUseLocalStorage())return window.localStorage.getItem(this.key)},l.prototype._removeLocalStorage=function(){m.canUseLocalStorage()&&window.localStorage.removeItem(this.key)},h.prototype=Object.create(u.prototype),h.prototype.constructor=h,h.prototype.exists=function(e){var t=this.get();t=t?t.split(","):[];for(var n=0;n0)return!0;if(m.items.COOKIE_TEST.set("1"),"1"===m.items.COOKIE_TEST.get())return m.items.COOKIE_TEST.clear(),!0}catch(e){return hj.metrics.count("session-rejection",{tag:{reason:"cookies"}}),!1}}()),this.areCookiesSupported()},canUseLocalStorage:hj.tryCatch((function(){if(null!==g)return g;try{localStorage.setItem("_hjLocalStorageTest",1),localStorage.removeItem("_hjLocalStorageTest"),g=!0}catch(e){g=!1}return g}),"storage.canUseLocalStorage"),canUseSessionStorage:hj.tryCatch((function(){if(null!==p)return p;try{sessionStorage.setItem("_hjSessionStorageTest",1),sessionStorage.removeItem("_hjSessionStorageTest"),p=!0}catch(e){p=!1}return p}),"storage.canUseSessionStorage")};hj.storage=m},,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(7),i=!1,o=2,a=!1,s={isRecordingEnabled:function(){return i},setRecordingEnabled:function(e){i=e},getSelectorVersion:function(){return o},setSelectorVersion:function(e){o=e},trackSessionResumed:function(){a=!0},isResumedSession:function(){return a},isFirstSeen:function(){return"1"===r.a.items.FIRST_SEEN.get()},setFirstSeen:function(){return r.a.items.FIRST_SEEN.set("1")}}},,function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"i",(function(){return s})),n.d(t,"j",(function(){return c})),n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"g",(function(){return h})),n.d(t,"h",(function(){return d})),n.d(t,"f",(function(){return f})),n.d(t,"b",(function(){return g}));var r,i=n(56),o=hj.tryCatch((function(e){var t=e||navigator.userAgent;return t.indexOf("MSIE ")>0?document.all&&!document.compatMode?5:document.all&&!window.XMLHttpRequest?6:document.all&&!document.querySelector?7:document.all&&!document.addEventListener?8:document.all&&!window.atob?9:10:-1!==t.indexOf("Trident/")?11:-1!==t.indexOf("Edge/")?12:"notIE"}),"utils"),a=(hj.tryCatch((function(e){return(e=e||navigator.userAgent).indexOf("Firefox")>-1}),"utils"),hj.tryCatch((function(e){return(e=e||navigator.userAgent).indexOf("Safari")>-1&&-1===e.indexOf("Chrome")}),"utils")),s=(hj.tryCatch((function(e){return e=e||navigator.userAgent,/\b(Safari|iPad|iPhone|iPod)\b/.test(e)&&/WebKit/.test(e)&&!/Edge/.test(e)&&void 0===window.MSStream}),"utils"),hj.tryCatch((function(e){var t,n,r;for(t=e.length-1;t>0;t-=1)n=Math.floor(Math.random()*(t+1)),r=e[t],e[t]=e[n],e[n]=r;return e}),"utils")),c=hj.tryCatch((function(e){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}),"utils"),u=hj.tryCatch((function(){return hj.userDeviceType||(hj.userDeviceType=Object(i.a)(),"mobile"===hj.userDeviceType&&(hj.userDeviceType="phone")),hj.userDeviceType}),"utils"),l=hj.tryCatch((function(){return _hjSettings.wsHost||(_hjSettings.wsHost="ws.hotjar.com"),_hjSettings.wsHost}),"utils.get-ws-server"),h=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i1?r-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:0,n=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!i(n))throw TypeError("Stringified UUID is invalid");return n};var c=function(e){if(!i(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};function u(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:return t^n^r;case 2:return t&n^t&r^n&r;case 3:return t^n^r}}function l(e,t){return e<>>32-t}var h,d=function(e,t,n){function r(e,r,i,o){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n>>0;w=b,b=j,j=l(y,30)>>>0,y=m,m=E}n[0]=n[0]+m>>>0,n[1]=n[1]+y>>>0,n[2]=n[2]+j>>>0,n[3]=n[3]+b>>>0,n[4]=n[4]+w>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]})),f=new Uint8Array(16);function g(){if(!h&&!(h="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return h(f)}var p=function(e,t,n){var r=(e=e||{}).random||(e.rng||g)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return s(r)},v="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),m=new Array(16),y=v?void 0:function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),m[t]=e>>>((3&t)<<3)&255;return m},j=d,b=function(e,t,n){return y&&((e=e||{}).rng=y),p(e,t,n)}},,,function(e,t,n){"use strict";n.r(t),n.d(t,"getParameter",(function(){return a})),n.d(t,"tryDecodeURIComponent",(function(){return s})),n.d(t,"getUrlFromString",(function(){return c})),n.d(t,"getMidLevelDomain",(function(){return l}));var r=n(19),i=n.n(r),o=n(26);function a(e){var t,n,r=[];for(t=new RegExp("[^?&]?"+e.replace(/\[/,"\\[").replace(/]/,"\\]")+"=([^&]+)","g");n=t.exec(location.search);)r.push(s(n[1]));switch(r.length){case 0:return"";case 1:return r[0];default:return r}}function s(e){try{return decodeURIComponent(e)}catch(t){return e}}function c(e){return Object(o.a)(e,"http")||(Object(o.a)(e,"/")||(e="/"+e),e=location.protocol+"//"+location.hostname+(""!=location.port?":"+location.port:"")+e),e}var u={};function l(e){if(!u[e]){var t,n=e.lastIndexOf(".");t=function e(t,n){n=n?n-1:t.length;var r,i=t.lastIndexOf(".",n-1);i>-1&&(function(e){try{var t={domain:e};h.set("_hjTLDTest",e,t);var n=h.get("_hjTLDTest");return n&&h.remove("_hjTLDTest",t),n}catch(e){return!1}}(r=t.substring(i))||(r=e(t,i)));return r}(e,n),u[e]=t||e}return u[e]}var h=i.a.withAttributes({sameSite:"None",secure:!0})},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s}));var r=n(4),i=n(3),o=4*i.g*1e3,a=i.g/2*1e3,s=function(e){try{var t=hj.store.session.get("session.created");if("number"==typeof t&&r.a.now()+a>t+o){var n=o-(r.a.now()-t);n<0&&(n=0),setTimeout((function(){try{hj.eventStream.close(),e(),hj.store.session.set("session",null),hj.metrics.count("session-interruption",{tag:{reason:"too-long"}})}catch(e){hj.exceptions.log(e,"hj.session.clear")}}),n)}return"number"==typeof t&&r.a.now()>=t+o}catch(e){return!1}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return s}));var r="_hj-widget-container",i="_hj-widget-iframe";function o(e,t){for(var n=e.querySelectorAll(t),r=0;r0&&void 0!==arguments[0]?arguments[0]:"INSIGHTS",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.location.host;return f(t,e)?a.LIVE:h(t,e)?a.DEV:d(t,e)?a.DEV_OLD:g(t,e)?a.REVIEW_WEBAPP:p(t,e)?a.REVIEW:v(t,e)?a.STAGING:a.LIVE}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"f",(function(){return c})),n.d(t,"b",(function(){return u})),n.d(t,"e",(function(){return l}));var r=n(92),i=n(31);function o(e,t,n){!function i(o){if(o>0&&e(),o>=n.maxRetries)t&&t();else{var a=0===o&&n.firstAttemptDelay?n.firstAttemptDelay:n.delay*Math.pow(n.baseExponent||3,o);setTimeout((function(){!0!==r.a.get("eventsRetrySuccess")&&i(o+1)}),a)}}(0)}var a=function(){return Object(i.a)()},s=function(e){return Object(i.b)(e,"ded6f544-7265-46bb-ab52-fefac2598466")},c=function(e){return JSON.stringify(e)},u=function(e){return JSON.parse(e)},l=function(){var e;return null===(e=window.navigator)||void 0===e?void 0:e.userAgent}},,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(3),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,r=0,i=!1;function c(){0!==--r||i||t.bind(this)()}function u(){i=!0,n.bind(this)()}Object.keys(e).forEach((function(t){var n=e[t];"string"==typeof n&&(n=[n]),r+=n.length,n.forEach((function(e){o(e,t,c,u)}))}))},o=function(e,t,n,i){var o;t===r.c.SCRIPT?(o=document.createElement("script")).src="".concat(hj.scriptDomain).concat(e):t===r.c.STYLESHEET&&((o=document.createElement("link")).href="".concat(hj.scriptDomain).concat(e),o.rel="stylesheet"),o.onload=n,o.onerror=i,document.getElementsByTagName("head")[0].appendChild(o)};function a(){}function s(){var e=this.src||this.href;hj.exceptions.log(new Error("Failed to load module: ".concat(e,".")),"loader")}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r,i,o=((i=function(){return r()}).test=r=function(){var e;if(!navigator)return"No User-Agent Provided";if(null===(e=navigator.userAgentData)||void 0===e?void 0:e.mobile)return"mobile";var t=function(e){return navigator.userAgent.match(e)};return t(/GoogleTV|SmartTV|Internet.TV|NetCast|NETTV|AppleTV|boxee|Kylo|Roku|DLNADOC|CE\-HTML/i)||t(/Xbox|PLAYSTATION.3|Wii/i)?"tv":t(/iPad/i)||t(/tablet/i)&&!t(/RX-34/i)||t(/FOLIO/i)||t(/Linux/i)&&t(/Android/i)&&!t(/Fennec|mobi|HTC.Magic|HTCX06HT|Nexus.One|SC-02B|fone.945|Chromebook/i)||t(/Kindle/i)||t(/Mac.OS/i)&&t(/Silk/i)||t(/GT-P10|SC-01C|SHW-M180S|SGH-T849|SCH-I800|SHW-M180L|SPH-P100|SGH-I987|zt180|HTC(.Flyer|\_Flyer)|Sprint.ATP51|ViewPad7|pandigital(sprnova|nova)|Ideos.S7|Dell.Streak.7|Advent.Vega|A101IT|A70BHT|MID7015|Next2|nook/i)||t(/MB511/i)&&t(/RUTEM/i)?"tablet":t(/BOLT|Fennec|Iris|Maemo|Minimo|Mobi|mowser|NetFront|Novarra|Prism|RX-34|Skyfire|Tear|XV6875|XV6975|Google.Wireless.Transcoder/i)||t(/Opera/i)&&t(/Windows.NT.5/i)&&t(/HTC|Xda|Mini|Vario|SAMSUNG\-GT\-i8000|SAMSUNG\-SGH\-i9/i)?"mobile":t(/Windows.(NT|XP|ME|9)/)&&!t(/Phone/i)||t(/Win(9|.9|NT)/i)||t(/Macintosh|PowerPC/i)&&!t(/Silk/i)||t(/Linux/i)&&t(/X11/i)||t(/Solaris|SunOS|BSD/i)||t(/Bot|Crawler|Spider|Yahoo|ia_archiver|Covario-IDS|findlinks|DataparkSearch|larbin|Mediapartners-Google|NG-Search|Snappy|Teoma|Jeeves|TinEye/i)&&!t(/Mobile/i)||t(/\b(CrOS|Chromebook)\b/i)?"desktop":"mobile"},i)},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=Object.freeze({MODAL:"_hj-modal",FOOTER:"_hj-footer",SURVEY_INVITES:"_hj_survey_invite_container",HEATMAP_RETAKER:"_hj-heatmap-retaker",ADMIN_WIDGET:"_hj_admin_widget",INCOMING_FEEDBACK:"_hj_feedback_container",NOTICATION:"_hj-notification"});Object.freeze({RETAKER:"_hjRetakerTrsToken",TARGETING:"_hjRetakerTargeting"})},,function(e,t,n){"use strict";n.r(t),n.d(t,"userAttributes",(function(){return l}));var r=n(67),i=n(21),o=n(14),a=n(4),s=n(71),c=n(7),u=n(16),l={id:void 0,attributes:{},init:hj.tryCatch((function(){if(hj.settings.user_attributes_enabled){var e=g();e&&(l.id=e.userId,l.attributes=e.attributes)}}),"userAttributes.init"),reset:hj.tryCatch((function(){l.id=void 0,l.attributes={},p()}),"userAttributes.reset"),set:hj.tryCatch((function(e,t){hj.settings.user_attributes_enabled?(void 0!==l.id&&null!==l.id&&l.id!==e&&(hj.log.debug("User ID changed, resetting all attributes before continuing.","userAttributes"),l.reset()),l.id=e,l.attributes=Object(u.f)(l.attributes,t),f({attributes:l.attributes,userId:l.id}),hj.event.signal("user-attributes-set"),o.a.isRecordingEnabled()?l.flush():hj.log.debug("No recording in progress. Not sending.","userAttributes")):hj.log.debug("User attributes not enabled. Doing nothing.","userAttributes")}),"userAttributes.set"),flush:hj.tryCatch((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:hj.hq.noop;if(void 0!==l.id||Object.keys(l.attributes).length){var t=c.a.items.USER_ATTRIBUTES_HASH.get({resetExpiry:!0}),n=hj.md5(JSON.stringify({allAttributes:l.attributes,userId:l.id}));if(t===n)return e(null,l.id,l.attributes),void hj.log.debug("No changed user attributes. Not sending.","userAttributes");c.a.items.USER_ATTRIBUTES_HASH.set(n),hj.debug.isOn()&&h(l.id,l.attributes),d(l.id,l.attributes),e(null,l.id,l.attributes)}else e(Error("no_user"))}),"userAttributes.flush"),get:hj.tryCatch((function(e){return"user_id"===e?l.id:l.attributes[e]}),"userAttributes.get")},h=function(e,t){hj.ajax.post("".concat(hj.identifyEndpoint,"/sites/").concat(hj.settings.site_id,"/users/").concat(Object(s.a)(!0),"/validate"),{user_id:e,attributes:t},hj.tryCatch((function(e){e.errors&&Object.keys(e.errors).length>0?hj.log.debug("User validation API call PARTIALLY successful (some errors).","userAttributes",e):hj.log.debug("User validation API call successful.","userAttributes",e)}),"userAttributes"),hj.tryCatch((function(e){hj.log.debug("User Attributes validation API call failed.","userAttributes",e.responseText&&JSON.parse(e.responseText)||"unknown_failure")}),"userAttributes"))},d=function(e,t){if(o.a.isRecordingEnabled()){var n={hj_id:Object(s.a)(!0),user_id:e,attributes:t,time:hj.time.getNow(),timestamp:a.a.now()};Object(i.a)(r.a.IDENTIFY_USER,n,!0).flush(),hj.log.debug("User attributes sent up websocket.","userAttributes",n)}},f=function(e){var t=hj.b64EncodeUnicode(JSON.stringify(e));c.a.localStorage.USER_ATTRIBUTES.set(t),c.a.items.HAS_CACHED_USER_ATTRIBUTES.set("true",!0)},g=function(){var e="true"===c.a.items.HAS_CACHED_USER_ATTRIBUTES.get()?c.a.localStorage.USER_ATTRIBUTES.get():void 0;if(e)try{var t=hj.isParsableJSON(e)?e:hj.b64DecodeUnicode(e);return JSON.parse(t)}catch(e){return}},p=function(){c.a.items.HAS_CACHED_USER_ATTRIBUTES.clear(),c.a.localStorage.USER_ATTRIBUTES.clear()}},,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=Object.freeze({IDENTIFY_USER:"identify_user",AUTOTAG_RECORDING:"autotag_recording",TAG_RECORDING:"tag_recording",HEATMAP_HELO:"heatmap_helo",RECORDING_HELO:"recording_helo",REPORT_USER_ID:"report_user_id",MUTATION:"mutation",MOUSE_CLICK:"mouse_click",INPUT_CHOICE_CHANGE:"input_choice_change",KEY_PRESS:"key_press",MOUSE_MOVE:"mouse_move",RELATIVE_MOUSE_MOVE:"relative_mouse_move",CLIPBOARD:"clipboard",PAGE_VISIBILITY:"page_visibility",SCROLL_REACH:"scroll_reach",SCROLL:"scroll",SELECT_CHANGE:"select_change",VIEWPORT_RESIZE:"viewport_resize",SCRIPT_PERFORMANCE:"script_performance",REPORT_CONTENT:"report_content",INSERTED_RULE:"inserted_rule",DELETED_RULE:"deleted_rule"})},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return g})),n.d(t,"c",(function(){return p}));var r=n(7),i=n(4),o=n(23),a=n(136),s=n(48);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t-1)){var t,n,o,a,c,l=d(),f=(t=u(u(u({},l),(c=r.a.items.HJ_ID.get())?{id:Object(s.d)(hjSiteSettings.site_id+c),existing:!0}:null),{},{existing:!!l}),{id:null!==(n=null==t?void 0:t.id)&&void 0!==n?n:Object(s.d)(Object(s.c)()),created:null!==(o=null==t?void 0:t.created)&&void 0!==o?o:i.a.now(),existing:null!==(a=null==t?void 0:t.existing)&&void 0!==a&&a});return function(e){h.set(e)}(f),f}},g=function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=o.a.get("user.id")||(null===(e=d())||void 0===e?void 0:e.id);if(n)return n;if(t){var r=f();return null==r?void 0:r.id}},p=function(){if(Object(s.e)()){var e,t,n,r=o.a.get("user")||d();if((null===(e=r)||void 0===e?void 0:e.id)||(r=f()),null===(t=r)||void 0===t?void 0:t.id)setTimeout((function(){o.a.set("user",r)}));else hj.log.warnIfEmpty(null===(n=r)||void 0===n?void 0:n.id,"user agent check: userId")}}},,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r,i=n(7),o=Math.random(),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown";if(void 0!==r)return hj.log.debug("[".concat(e,"] Included in session/CC sample (already set)? ").concat(r),"sampling",{rec_value:hj.settings.rec_value,includedInSessionSample:r,mathRandomResult:o}),r;if(0===hj.settings.rec_value)return i.a.items.INCLUDE_IN_SESSION_SAMPLE.set("0"),hj.log.debug("[".concat(e,"] rec_value has gone to 0, removing from sample."),"sampling",{rec_value:hj.settings.rec_value,includedInSessionSample:r}),r=!1;if(!hj.settings.continuous_capture_enabled)return hj.log.debug("[".concat(e,"] Included in session/CC sample (setting check)? ").concat(r),"sampling",{"hj.settings.continuous_capture_enabled":hj.settings.continuous_capture_enabled}),r=!1;var t=i.a.items.INCLUDE_IN_SESSION_SAMPLE.get({resetExpiry:!0}),n="1"==t;if(hj.log.debug("[".concat(e,"] Included in session/CC sample (from cookie)? ").concat(n),"sampling",{cookie_value:t}),t)return r=n;var a=hj.url.getParameter("hjIncludeInSessionSample");switch(a){case"0":return r=!1,hj.log.debug("You have set includedInSessionSample to false.","sampling"),r;case"1":return r=!0,i.a.items.INCLUDE_IN_SESSION_SAMPLE.set(r?"1":"0"),hj.log.debug("You have set includedInSessionSample to true.","sampling"),r}return(r=1===hj.settings.rec_value||void 0!==hj.settings.rec_value&&null!==hj.settings.rec_value&&(o||1)<=hj.settings.rec_value)?i.a.items.INCLUDE_IN_SESSION_SAMPLE.set("1"):i.a.items.INCLUDE_IN_SESSION_SAMPLE.set("0"),hj.log.debug("[".concat(e,"] Included in session/CC sample? ").concat(r),"sampling",{rec_value:hj.settings.rec_value,mathRandomResult:o}),r},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown";return a(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(55),i=n(3),o=!1,a=function(e){var t=e.title,n=e.message,a=e.status;o?hj.widget.renderNotificationWidget({title:t,message:n,status:a}):Object(r.a)(i.e.NOTIFICATION,(function(){o=!0,hj.widget.renderNotificationWidget({title:t,message:n,status:a})}))}},,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(115),i=Object(r.a)({eventsRetrySuccess:!1},"event-stream")},function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var r=n(4);function i(e){return Object(r.g)(Object(r.e)(e))}function o(e){return Object(r.d)(Object(r.f)(e))}function a(e){return Object(r.c)(i(e))}function s(e){return o(Object(r.b)(e))}},,,,,,,,,,,,,function(e,t,n){"use strict";function r(e,t,n){t=t||hj.hq.noop,n=n||hj.hq.noop,hj.hq.ajax({url:e,success:hj.tryCatch(t,"Data"),error:hj.tryCatch(n,"Data")})}function i(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{contentType:"json"};n=n||hj.hq.noop,r=r||hj.hq.noop;var o=(null==i?void 0:i.query)?"".concat(e,"?").concat(i.query):e;return hj.hq.ajax({url:o,type:"POST",data:"json"===(null==i?void 0:i.contentType)?hj.hq.stringify(t):t,contentType:"text/plain; charset=UTF-8",success:hj.tryCatch(n,"Data"),error:hj.tryCatch(r,"Data")})}function o(e,t,n,r){n=n||hj.hq.noop,r=r||hj.hq.noop,hj.hq.ajax({url:e,type:"PUT",data:hj.hq.stringify(t),contentType:"text/plain; charset=UTF-8",success:hj.tryCatch(n,"Data"),error:hj.tryCatch(r,"Data")})}n.r(t),n.d(t,"get",(function(){return r})),n.d(t,"post",(function(){return i})),n.d(t,"putAsJSON",(function(){return o})),hj.ajax={get:r,post:i,putAsJSON:o}},,,,,,,,,function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return i}));var i=function(e,t){var n=Object.assign(Object.create({}),e),i=Object.create({}),o=function(e){return!(null==e||"object"===r(e)&&0===Object.keys(e).length)},a={get:function(e){try{if(Object.prototype.hasOwnProperty.call(n,e))return n[e];var i=e.split(".");if(i.length>1){var o=i[1],a=n[i[0]];return o&&a&&"object"===r(a)?a[o]:void 0}return}catch(e){hj.exceptions.log(e,"hj.store.".concat(t))}},set:function(e,s){try{if(Object.prototype.hasOwnProperty.call(n,e))n[e]=s,s&&"object"===r(s)&&Object.keys(s).forEach((function(t){var n="".concat(String(e),".").concat(t),r=i[n];if(r&&s){var c=s[t];o(c)&&r.forEach((function(e){e(c,a.off(n,e))}))}}));else{var c=e.split(".");if(c.length>1){var u=c[0],l=n[u],h=c[1];h&&l&&"object"===r(l)&&(l[h]=s);var d,f=a.get(u);if(o(f))null===(d=i[u])||void 0===d||d.forEach((function(e){e(f,a.off(u,e))}))}}var g;if(o(s))null===(g=i[e])||void 0===g||g.forEach((function(t){t(s,a.off(e,t))}))}catch(e){hj.exceptions.log(e,"hj.store.".concat(t))}},on:function(e,t){var n;(null===(n=i[e])||void 0===n?void 0:n.push(t))||(i[e]=[t]);var r=a.get(e);return o(r)&&t(r,a.off(e,t)),a.off(e,t)},off:function(e,t){return function(){var n;i[e]=null===(n=i[e])||void 0===n?void 0:n.filter((function(e){return e!==t}))}},remove:function(e){delete n[e],delete i[e]},reset:function(e){n=Object.assign(Object.create({}),e),i=Object.create({})}};return Object.create(a)}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return Y}));var r,i,o=n(67),a=n(14),s=n(21),c=n(4),u={setup:!1,listen:hj.tryCatch((function(e){u.setup?e&&u.send(o.a.INSERTED_RULE,hj.insertedRules.getCurrentInsertedRules()):(hj.insertedRules.init(),hj.insertedRules.register(u.send.bind(u,o.a.INSERTED_RULE),!0),hj.cssBlobs.register(u.send.bind(u,o.a.INSERTED_RULE)),hj.deletedRules.init(),hj.deletedRules.register(u.send.bind(u,o.a.DELETED_RULE)),u.setup=!0)}),"behavior-data.cssRules.listen"),send:hj.tryCatch((function(e,t){t.length&&setTimeout(hj.tryCatch((function(){var n={time:hj.time.getNow(),timestamp:c.a.now(),rules:t};hj.debug.emit(e,n),Object(s.a)(e,n,!1)}),"behavior-data.cssRules"))}),"behavior-data.cssRules.send")},l=hj.tryCatch((function(e,t){var n=hj.hq(e),r=hj.selector(a.a.getSelectorVersion()).get(n);if(r&&t){var i={offset_x:t.pageX,offset_y:t.pageY,selector:r};a.a.isRecordingEnabled()&&(i.time=hj.time.getNow(),i.timestamp=c.a.now()),Object(s.a)(o.a.MOUSE_CLICK,i,!1).flush()}}),"behavior-data.frameMouseClicks.frameClick"),h={setup:!1,listen:hj.tryCatch((function(){h.setup||(hj.log.debug("Setting up frame mouse click listeners.","events"),h.send(),h.setup=!0)}),"behavior-data.frameMouseClicks.listen"),send:hj.tryCatch((function(){if(a.a.isRecordingEnabled()){var e=location.origin,t=hj.hq("iframe");t.length&&[].forEach.call(t,(function(t){if(t.src&&-1!==t.src.indexOf(e))try{var n=t.contentWindow;hj.hq(n).on("mousedown",(function(e){l(t,e)}))}catch(n){var r=t.src.split("?")[0];hj.Sentry&&hj.Sentry.captureMessage("SecurityError: Blocked a frame with origin ".concat(e," from accessing\n a frame with origin ").concat(r))}}))}}),"behavior-data.frameMouseClicks.send")},d={setup:!1,listen:hj.tryCatch((function(){d.setup||(hj.log.debug("Setting up input choice change listeners.","events"),hj.hq(document).on("change","input[type=checkbox], input[type=radio]",d.send),hj.event.listen("shadow-event:change",d.send),d.setup=!0)}),"behavior-data.inputChoiceChange.listen"),send:hj.tryCatch((function(e){if("INPUT"===e.target.tagName&&("checkbox"===e.target.type||"radio"===e.target.type)&&a.a.isRecordingEnabled()){var t=hj.hq(e.target),n=hj.selector().get(t),r=t.is(":checked");Object(s.a)(o.a.INPUT_CHOICE_CHANGE,{value:r,selector:n,time:hj.time.getNow(),timestamp:c.a.now()},!0).flush()}}),"behavior-data.inputChoiceChange.send")},f=!1,g=!1,p=[],v={setup:!1,listen:hj.tryCatch((function(){v.setup||(hj.log.debug("Setting up key press listeners.","events"),hj.hq(document).on("input","input",v.update),hj.hq(document).on("blur","input",v.send),hj.hq(document).on("input","textarea",v.update),hj.hq(document).on("blur","textarea",v.send),v.setup=!0)}),"behavior-data.keyPress.listen"),update:hj.tryCatch((function(e){var t=hj.hq(e.target),n=t.val();g=g||hj.privacy.isRiskyNotAllowlistedOrSuppressedElement(e.target),p.push({time:hj.time.getNow(),timestamp:c.a.now(),selector:hj.selector().get(t),text:n,type:e.target.type,suppression:g?"full":"none"}),f=!0}),"behavior-data.keyPress.update"),send:hj.tryCatch((function(){if(a.a.isRecordingEnabled()&&f){if(g){var e=p[0],t=p[p.length-1],n=hj.privacy.getSuppressedText(e.type,t.text),r=Math.floor((t.time-e.time)/Math.max(n.length,1));p=[];for(var i=0;ik&&(k=e,Object(s.a)(o.a.SCROLL_REACH,{time:hj.time.getNow(),timestamp:c.a.now(),max_bottom:k},!0))}}),"behavior-data.scrollReach.send")},A={setup:!1,listen:hj.tryCatch((function(){A.setup||(hj.log.debug("Setting up select change listeners.","events"),hj.hq(document).on("change","select",A.send),hj.event.listen("shadow-event:change",A.send),A.setup=!0)}),"behavior-data.selectChange.listen"),send:hj.tryCatch((function(e){if("SELECT"===e.target.tagName&&a.a.isRecordingEnabled()){var t=hj.hq(e.target),n=hj.selector().get(t),r=t.val();Object(s.a)(o.a.SELECT_CHANGE,{value:r,selector:n,time:hj.time.getNow(),timestamp:c.a.now()},!0).flush()}}),"behavior-data.selectChange.send")},x={setup:!1,listen:hj.tryCatch((function(){x.setup||(hj.log.debug("Setting up screen size change listeners.","events"),i=hj.ui.getWindowSize(),setInterval(x.checkResize,1e3),x.checkResize(),x.setup=!0)}),"behavior-data.viewportResize.listen"),checkResize:hj.tryCatch((function(){var e=hj.ui.getWindowSize();e.width===i.width&&e.height===i.height||(i=e,x.send())}),"behavior-data.viewportResize.checkResize"),send:hj.tryCatch((function(){a.a.isRecordingEnabled()&&Object(s.a)(o.a.VIEWPORT_RESIZE,{time:hj.time.getNow(),timestamp:c.a.now(),w:i.width,h:i.height}).flush()}),"behavior-data.viewportResize.send")},P={setup:!1,listen:hj.tryCatch((function(){P.setup||(hj.adoptedStyleSheets.init(),hj.adoptedStyleSheets.register(P.send.bind(P,"adopted_style_sheets"),!0),P.setup=!0)}),"behavior-data.adoptedStyleSheets.listen"),send:hj.tryCatch((function(e,t){t&&setTimeout(hj.tryCatch((function(){var n={time:hj.time.getNow(),timestamp:c.a.now(),parentSelector:t.parentSelector,sheets:t.sheets,nodeId:t.nodeId};hj.debug.emit(e,n),Object(s.a)(e,n,!1)}),"behavior-data.adoptedStyleSheets"))}),"behavior-data.adoptedStyleSheets.send")},D=O("copy"),M=O("cut"),L=O("paste"),U=[P,D,u,M,h,d,v,C,_,I,L,T,R,A,x],H={enableRecording:hj.tryCatch((function(e){a.a.setRecordingEnabled(!0),U.forEach((function(t){t.listen(e)})),hj.autotag.start()}),"behavior-data.events.enableRecording")},q=n(60),V=n(16),W=n(7),z=n(23),F=n(22);var B=!1,G=Object(V.h)((function(e,t,n,r,i){var c,u,l;Object(s.a)((c={},u=o.a.RECORDING_HELO,l=function(){return function(e,t,n){return{playback_version:3,script_context_id:hj.scriptContextId,start_time:t,start_timestamp:n,page_visit_info:e,resumed:a.a.isResumedSession(),first_seen:a.a.isFirstSeen()}}(hj.visitData.getPageVisitInfo(t,hj.settings.site_id),n,r)},u in c?Object.defineProperty(c,u,{value:l,enumerable:!0,configurable:!0,writable:!0}):c[u]=l,c)).flush(),hj.eventStream.reportPageContent(e),Object(s.a)(o.a.SCROLL_REACH,{max_bottom:hj.ui.getBottomAsPercentage()},!0),i?H.enableRecording():F.a.on("pageInfo",(function(e,t){Y.initializeTreeMirror(e.urlMD5),H.enableRecording(W.a.items.SESSION_RESUMED.get()),t()}))})),Y={isTreeMirrorInitialized:function(){return B},start:hj.tryCatch((function(){a.a.setRecordingEnabled(!0),sessionStorage.setItem("_hjRecordingEnabled",!0),F.a.set("active",!0);var e=hj.ui.getWindowSize(),t=hj.time.getNow(),n=c.a.now(),r=F.a.get("pageVisitKey");G(r,r,e,t,n,this.isTreeMirrorInitialized());var i=F.a.get("tagsToProcess");i.length&&(Object(s.a)(o.a.TAG_RECORDING,i,!0).flush(),F.a.set("tagsToProcess",[]));var u=F.a.get("autoTagsToProcess");u.length&&(Object(s.a)(o.a.AUTOTAG_RECORDING,u,!0).flush(),F.a.set("autoTagsToProcess",[])),hj.settings.user_attributes_enabled&&q.userAttributes.flush()}),"behavior-data.recording.start"),setAndSendPageContent:function(e,t){z.a.on("user.id",(function(){return hj.eventStream.storePageContent(t,e)}))},reset:function(){F.a.reset({pageVisitKey:void 0,pageInfo:void 0,pageContent:void 0,tagsToProcess:[],autoTagsToProcess:[],active:!1}),hj.eventStream.clearPageContent(),hj.treeMirror.resetMutationListeners(),B=!1},initializeTreeMirror:hj.tryCatch((function(e){hj.treeMirror.mutationObserverAvailable&&hj.treeMirror.getTree((function(t,n,r){K(e,t,n,r)}),X)}),"behavior-data.initializeTreeMirror"),resume:function(){T.update(),C.trackCoordinatesOnNextClick()}},K=function(e,t,n,r){Y.setAndSendPageContent(e,JSON.stringify({docType:hj.html.getPageDoctype(),rootId:t,children:n,isIframe:r})),B=!0},X=function(e,t,n,r){var i={};(e.length||t.length||n.length||r.length)&&(i.time=hj.time.getNow(),i.timestamp=c.a.now(),e.length&&(i.a=e),t.length&&(i.b=t),n.length&&(i.c=n),r.length&&(i.d=r),hj.debug.emit("mutation",i),Object(s.a)(o.a.MUTATION,i,!1))}},,,function(e,t,n){"use strict";n.r(t);var r=n(80),i=n(93),o=n(7),a=n(34),s=n(60),c=n(16),u=n(4),l=n(31);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;tt}));e.length!==n.length&&window.localStorage.setItem("hjActiveViewportIds",JSON.stringify(n));var i=sessionStorage.getItem(r);i&&n.some((function(e){return e.id===i}))&&window.sessionStorage.removeItem(r)}}}(),null===(t=window.sessionStorage.getItem(r))&&(t=Object(l.a)(),window.sessionStorage.setItem(r,t)),function(){if(o.a.canUseLocalStorage()){var e=u.a.now()+216e5,n=s();n.push({id:t,expireTimestamp:e}),window.localStorage.setItem("hjActiveViewportIds",JSON.stringify(n))}}()):t=Object(l.a)())}function s(){var e,t=window.localStorage.getItem("hjActiveViewportIds");if(!t)return[];try{e=JSON.parse(t)}catch(t){window.localStorage.removeItem("hjActiveViewportIds"),e=[]}return Array.isArray(e)?e:(window.localStorage.removeItem("hjActiveViewportIds"),[])}return n.getId=hj.tryCatch((function(){return a(),t}),"hj.viewport.getId"),n.isPageVisitStale=hj.tryCatch((function(){if(!o.a.canUseLocalStorage())return!1;var n=window.localStorage.getItem("hjActiveViewportIds"),r="".concat(t,"-").concat(e,"-").concat(n);return i[r]||(n?null===n.match(new RegExp(t))?i[r]=!1:i[r]=null===n.match(new RegExp('{[^}]*id":"'.concat(t,'"[^}]*"pageVisitKey":"').concat(e,'"}'))):i[r]=!1),i[r]}),"hj.viewport.isPageVisitStale"),n.setPageVisitForViewport=hj.tryCatch((function(n){if(e=n,o.a.canUseLocalStorage()){var r=s();if(0!==r.length){var i=r.findIndex((function(e){return e.id===t}));-1!==i&&(r[i]=d(d({},r[i]),{},{pageVisitKey:n}),window.localStorage.setItem("hjActiveViewportIds",JSON.stringify(r)))}}}),"hj.viewport.setPageVisitForViewport"),window.addEventListener("pagehide",(function(){!function(){if(o.a.canUseLocalStorage()){var e=s();if(0!==e.length){var n=e.filter((function(e){return e.id!==t}));0===n.length?window.localStorage.removeItem("hjActiveViewportIds"):window.localStorage.setItem("hjActiveViewportIds",JSON.stringify(n))}}}()})),n};function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}hj.tryCatch((function(){if(void 0!==hj.scriptLoaded)return window.console=window.console||{warn:function(){}},console.warn("Hotjar Tracking Warning: Multiple Hotjar tracking codes were detected on this page. Tracking will not work as expected."),hj.verifyInstall?void Object(r.a)("Hotjar installation invalid.","It appears you have more than one Hotjar tracking code set up on this page. Hotjar cannot work properly if multiple Hotjar scripts are loaded concurrently. Please make sure you only install the one tracking code provided for this site.","bad"):void 0;var e,t,n;function u(e,t){var n=h(n=e[0],o=e[1],i=e[2],r=e[3],t[0],7,-680876936),r=h(r,n,o,i,t[1],12,-389564586),i=h(i,r,n,o,t[2],17,606105819),o=h(o,i,r,n,t[3],22,-1044525330);n=h(n,o,i,r,t[4],7,-176418897),r=h(r,n,o,i,t[5],12,1200080426),i=h(i,r,n,o,t[6],17,-1473231341),o=h(o,i,r,n,t[7],22,-45705983),n=h(n,o,i,r,t[8],7,1770035416),r=h(r,n,o,i,t[9],12,-1958414417),i=h(i,r,n,o,t[10],17,-42063),o=h(o,i,r,n,t[11],22,-1990404162),n=h(n,o,i,r,t[12],7,1804603682),r=h(r,n,o,i,t[13],12,-40341101),i=h(i,r,n,o,t[14],17,-1502002290),n=d(n,o=h(o,i,r,n,t[15],22,1236535329),i,r,t[1],5,-165796510),r=d(r,n,o,i,t[6],9,-1069501632),i=d(i,r,n,o,t[11],14,643717713),o=d(o,i,r,n,t[0],20,-373897302),n=d(n,o,i,r,t[5],5,-701558691),r=d(r,n,o,i,t[10],9,38016083),i=d(i,r,n,o,t[15],14,-660478335),o=d(o,i,r,n,t[4],20,-405537848),n=d(n,o,i,r,t[9],5,568446438),r=d(r,n,o,i,t[14],9,-1019803690),i=d(i,r,n,o,t[3],14,-187363961),o=d(o,i,r,n,t[8],20,1163531501),n=d(n,o,i,r,t[13],5,-1444681467),r=d(r,n,o,i,t[2],9,-51403784),i=d(i,r,n,o,t[7],14,1735328473),n=f(n,o=d(o,i,r,n,t[12],20,-1926607734),i,r,t[5],4,-378558),r=f(r,n,o,i,t[8],11,-2022574463),i=f(i,r,n,o,t[11],16,1839030562),o=f(o,i,r,n,t[14],23,-35309556),n=f(n,o,i,r,t[1],4,-1530992060),r=f(r,n,o,i,t[4],11,1272893353),i=f(i,r,n,o,t[7],16,-155497632),o=f(o,i,r,n,t[10],23,-1094730640),n=f(n,o,i,r,t[13],4,681279174),r=f(r,n,o,i,t[0],11,-358537222),i=f(i,r,n,o,t[3],16,-722521979),o=f(o,i,r,n,t[6],23,76029189),n=f(n,o,i,r,t[9],4,-640364487),r=f(r,n,o,i,t[12],11,-421815835),i=f(i,r,n,o,t[15],16,530742520),n=v(n,o=f(o,i,r,n,t[2],23,-995338651),i,r,t[0],6,-198630844),r=v(r,n,o,i,t[7],10,1126891415),i=v(i,r,n,o,t[14],15,-1416354905),o=v(o,i,r,n,t[5],21,-57434055),n=v(n,o,i,r,t[12],6,1700485571),r=v(r,n,o,i,t[3],10,-1894986606),i=v(i,r,n,o,t[10],15,-1051523),o=v(o,i,r,n,t[1],21,-2054922799),n=v(n,o,i,r,t[8],6,1873313359),r=v(r,n,o,i,t[15],10,-30611744),i=v(i,r,n,o,t[6],15,-1560198380),o=v(o,i,r,n,t[13],21,1309151649),n=v(n,o,i,r,t[4],6,-145523070),r=v(r,n,o,i,t[11],10,-1120210379),i=v(i,r,n,o,t[2],15,718787259),o=v(o,i,r,n,t[9],21,-343485551);e[0]=b(n,e[0]),e[1]=b(o,e[1]),e[2]=b(i,e[2]),e[3]=b(r,e[3])}function l(e,t,n,r,i,o){return t=b(b(t,e),b(r,o)),b(t<>>32-i,n)}function h(e,t,n,r,i,o,a){return l(t&n|~t&r,e,t,i,o,a)}function d(e,t,n,r,i,o,a){return l(t&r|n&~r,e,t,i,o,a)}function f(e,t,n,r,i,o,a){return l(t^n^r,e,t,i,o,a)}function v(e,t,n,r,i,o,a){return l(n^(t|~r),e,t,i,o,a)}function m(e){var t,n=[];for(t=0;64>t;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}window.hj=window.hj||function(){(window.hj.q=window.hj.q||[]).push(arguments)},window.hj.q=window.hj.q||[],hj.hostname=hj.host.split(":")[0],hj.port=443,hj.apiUrlBase="https://"+hj.host+"/api/v1",hj.apiUrlBaseV2="https://"+hj.host+"/api/v2",hj.isPreview=Boolean(_hjSettings.preview),hj.userDeviceType=null,hj.optOut=!1,hj.windowSize=null,hj.maxRecordingTagLength=250,hj.settings=hj.isPreview?{}:window.hjSiteSettings,hj.locationListener=(n="manual",(t={}).setMode=hj.tryCatch((function(t){n=t,e&&clearInterval(e),"automatic_with_fragments"===n?e=setInterval((function(){var e=""===location.hash&&location.href.indexOf("#")>-1?"#":location.hash,t="".concat(location.origin).concat(location.pathname).concat(location.search).concat(e);hj.currentUrl&&hj.currentUrl!=t&&hj._init.reinit(t)}),200):"automatic"===n&&(e=setInterval((function(){var e="".concat(location.origin).concat(location.pathname).concat(location.search);hj.currentUrl&&hj.currentUrl.split("#")[0]!=e&&hj._init.reinit(e)}),200))})),t);var y="0123456789abcdef".split("");function j(e){for(var t="",n=0;4>n;n++)t+=y[e>>8*n+4&15]+y[e>>8*n&15];return t}function b(e,t){return e+t&4294967295}hj.encodeAsUtf8=i.d,hj.decodeAsUtf8=i.c,hj.md5=function(e,t){var n="";try{n=function(e){for(var t=0;t>2]|=e.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),55t;t++)i[t]=0;return i[14]=8*n,u(r,i),r}(hj.encodeAsUtf8(e)))}catch(e){t?n="":hj.exceptions.log(e,"md5")}return n},hj.b64EncodeUnicode=i.b,hj.b64DecodeUnicode=i.a,hj.isParsableJSON=function(e){try{var t=JSON.parse(e);if(t&&"object"===p(t))return!0}catch(e){}return!1},"5d41402abc4b2a76b9719d911017c592"!=hj.md5("hello")&&(b=function(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}),hj.time=function(){var e=(new Date).getTime(),t={reset:function(){e=(new Date).getTime()},getNow:function(){return(new Date).getTime()-e}};return t}(),hj.debug=function(){var e={isOn:function(){return _hjSettings.hjdebug},on:function(e){_hjSettings.hjdebug=!0,e&&o.a.items.DEBUG_FLAG.set(!0)},off:function(){_hjSettings.hjdebug=!1,o.a.items.DEBUG_FLAG.clear()},emit:function(e,t){"undefined"!=typeof _hjEmitters&&_hjEmitters.includes&&_hjEmitters.includes(e)&&window.postMessage({data:t,message:o.a.items.DEBUG_FLAG.getKey(),type:e},"*")}};return e}(),hj.url=a,hj.log=function(){var e=!1,t="",n={},r={autotag:"#ff0099",command:"#0079a4",cookies:"#5a2c22",data:"#009bd2",event:"#ff7000",events:"#ffc000",exception:"#e63946",heatmap:"#700000",init:"#6600cc",integration:"#2a9072",poll:"#00a000",property:"#ff33cc",recording:"#dd0000",rendering:"#bd00ea",sampling:"#efb0a1",survey:"#007000",targeting:"#00ee00",visitdata:"#00668a",websocket:"#0dc0ff"};return n.init=function(){void 0===window.console&&(window.console={debug:function(){},trace:function(){},log:function(){},info:function(){},warn:function(){},error:function(){}})},n.debug=function(i,o,a){var s=o&&r[o.toLowerCase()]||"#2a9d8f";t!=i&&e&&(console.groupEnd(),e=!1),t=i,hj.debug.isOn()&&("object"===p(i)?hj.hq.each(i,(function(e,t){n.debug(e+": "+t,o,null)})):(i=o&&"string"==typeof i?o.toUpperCase()+": "+i:i,i="%c"+(new Date).toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/,"$1")+":%c "+i,a?(e||(console.groupCollapsed(i+":","color: #999;","color: "+s+";"),e=!0),console.log(a)):console.log(i,"color: #999;","color: "+s+";")))},n.info=function(e){console.log("%c"+e,"color: #006EFF")},n.warn=function(e){console.log("%c"+e,"color: #E8910C")},n.error=function(e){console.error("Hotjar error: "+e)},n.warnIfEmpty=function(e,t){if(Array.isArray(e)?0===e.length:hj.hq.isNullOrUndefined(e)){var n=null===e?"null":void 0===e?"undefined":"no value";hj.log.debug("WARNING: [".concat(t,"] a value was expected but ").concat(n," was found!"))}},n}(),hj.loader=function(){var e={},t=[];return e.getModules=hj.tryCatch((function(){return t}),"common"),e.registerModule=hj.tryCatch((function(e,n,r){t.push({name:e,module:n,nonTracking:void 0!==r&&r})}),"common"),e}(),hj.targeting=function(){var e={};function t(t,n){var r;if(!e.matchOperations[t.match_operation])return hj.exceptions.log(new Error('Targeting error - "'.concat(t.match_operation,'" match operation does not exist.')),"common.targeting.matchPatternWithRule"),!1;t.rule_type=t.rule_type||t.component;var i=function(e,t){return!t||"date"!==e.rule_type||"less_than"!==e.match_operation&&"greater_than"!==e.match_operation?t:(new Date(t).valueOf()/1e3).toFixed(0)}(t,n);return(r=e.matchOperations[t.match_operation](t,i)).error?(hj.exceptions.log(new Error("Targeting error - ".concat(t.match_operation," - ").concat(r.error)),"common.targeting.matchPatternWithRule"),!1):("url"!==t.component&&t.negate&&(r=!r),function(e,t,n){var r=n?"Match ":"No Match ";!n||"url"!==e.component&&"device"!==e.component||(r+=e.component+"|"+e.match_operation+"|"+e.pattern+(e.negate?" [NEGATE]":""),hj.log.debug(r,"targeting"));"attribute"!==e.component&&"event"!==e.component||(r+=e.component+"|"+e.name+" ("+e.rule_type+")|"+e.match_operation+"|"+e.pattern+"|compared with: "+t+(e.negate?" [NEGATE]":""),hj.log.debug(r,"targeting"))}(t,n,r),r)}function n(e){var n=!1,r=Object(c.a)();return(n=0===e.length||3===e.length||e.some((function(e){return t(e,r)})))?hj.log.debug("Device match found","targeting"):hj.log.debug("No device match found","targeting"),n}function r(e,n){var r,i=!1,o=!1,a=!1;if(0===e.length)return hj.log.debug("No URL targeting rules set","targeting"),!1;for(var s=0;sNumber(e.pattern)})),less_than:f((function(e,t){return Number(t)=r}))},e}(),hj.rendering=function(){var e={},t=[];function n(e,t){hj.tryCatch(t,"Rendering")(e)}function r(e,t){hj.widgetDelay.set((function(){hj.tryCatch(t,"Rendering")(e)}),1e3*e.display_delay)}function i(e,n,r){var i=hj.hq(document),o=hj.hq(window),a=[];function s(){hj.tryCatch(n,"Rendering")(e),i.off("mousemove."+r),i.off("mouseout."+r)}t.push(r),i.off("mousemove."+r),i.off("mouseout."+r),i.on("mousemove."+r,hj.tryCatch((function(e){a.push({x:e.clientX,y:e.clientY}),a.length>2&&(a[1].x===a[2].x&&a[1].y===a[2].y?a.pop():a.shift())}),"Rendering")),i.on("mouseout."+r,hj.tryCatch((function(e){e.relatedTarget&&(e.relatedTarget===this||this.compareDocumentPosition(e.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||function(e){var t=a[1],n=a[0];if(e|=0,void 0!==t&&!(t.y>=n.y||e>0)){n.x===t.x&&s();var r=(n.y-t.y)/(n.x-t.x),i=-(n.y-r*n.x)/r;i>0&&i=.5&&(i.off("scroll."+n),t(e))}),"Rendering"))}return e.clearAllAbandonEvents=hj.tryCatch((function(){t.forEach((function(e){hj.log.debug("Removing abandon events for "+e,"rendering"),hj.hq(document).off("mousemove."+e),hj.hq(document).off("mouseout."+e)})),t=[]}),"common"),e.addToDom=hj.tryCatch((function(e,t){if(!e)throw Error("container id not defined");if(!t)throw Error("cannot append html to container #"+e+", html not defined.");return hj.hq("#"+e).remove(),hj.hq("body").append(t),hj.hq("#"+e+">div")}),"common.addToDom"),e.TrustedString=function(e){this.value=e},e.callAccordingToCondition=hj.tryCatch((function(e,t,a){var s={immediate:n,delay:r,abandon:i,scroll:o}["inline"===e.display_type?"immediate":e.display_condition];if(hj.log.debug("Calling active item ("+t+"): "+e.display_condition,"rendering"),!s)throw new Error('Unhandled display condition: "'+e.display_condition+'"');hj.tryCatch(s,"Rendering")(e,a,t)}),"common"),e}(),hj.survey=hj.tryCatch((function(){var e={ctrl:void 0,data:void 0,model:{},activeLanguageDirection:"ltr"};return e}),"common")(),hj.ui=function(){var e={};return e.getWindowSize=hj.tryCatch((function(){var e=function(){try{return window.self!==window.top}catch(e){return!0}}(),t={width:!e&&window.screen?window.screen.width:document.body.clientWidth,height:!e&&window.screen?window.screen.height:document.body.clientHeight};return{width:window.innerWidth||document.documentElement.clientWidth||t.width,height:window.innerHeight||document.documentElement.clientHeight||t.height}}),"common"),e.getDocumentSize=hj.tryCatch((function(){var t,n;if(document&&document.documentElement&&document.documentElement.clientWidth)t=document.documentElement.clientWidth,n=document.documentElement.clientHeight;else{var r=e.getWindowSize();t=r.width,n=r.height}return{width:t,height:n}}),"common"),e.getScrollPosition=hj.tryCatch((function(e){return e=e||window,{left:hj.hq(e).scrollLeft(),top:hj.hq(e).scrollTop()}}),"common"),e.getBottomAsPercentage=hj.tryCatch((function(){var e=parseInt(1e3*(hj.hq(window).scrollTop()+hj.ui.getWindowSize().height)/hj.hq(document).height(),10);return Math.min(1e3,e)}),"common"),e.disableScrolling=hj.tryCatch((function(e){var t=hj.ui.getScrollPosition();hj.hq(document).on("scroll.hotjarDisable resize.hotjarDisable mousewheel.hotjarDisable DOMMouseScroll.hotjarDisable touchmove.hotjarDisable",hj.tryCatch((function(n){n.preventDefault(),window.scrollTo(t.left,t.top),e&&e()}),"common"))}),"common"),e.enableScrolling=hj.tryCatch((function(){hj.hq(document).off("scroll.hotjarDisable"),hj.hq(document).off("resize.hotjarDisable"),hj.hq(document).off("mousewheel.hotjarDisable"),hj.hq(document).off("DOMMouseScroll.hotjarDisable"),hj.hq(document).off("touchmove.hotjarDisable")}),"common"),e}(),hj.dom=function(){var e={getCSSURLs:function(){var e=[],t=document.styleSheets;return hj.log.debug("Getting CSS","dpc","Starting"),t&&t.length>0&&hj.hq.each(t,(function(t,n){n.href&&0===n.href.indexOf("http")&&(hj.log.debug("Getting CSS","dpc",n.href),e.push(n.href))})),e}};return e}(),hj.html=function(){var e={};return e.getPageContent=hj.tryCatch((function(e,t){function n(e,t){t=t||document;var n=parseInt(e.split(":")[0]),r=e.substring(e.indexOf(":")+1);return t.querySelectorAll(r)[n]}t=t||[],hj.treeMirror.getMirroredDocument((function(r){var i=hj.insertedRules.getCurrentInsertedRules(),o={};i.forEach((function(e){var i=n(e.parentSelector,r);if(o[e.parentSelector]||(o[e.parentSelector]=""),"LINK"===i.tagName){var a=i.attributes,s=a.href.value.split(location.hostname).pop().replace("/",""),c=r.querySelector(".blob-hash-"+s);if(!c){c=document.createElement("style"),o[e.parentSelector]=o[e.parentSelector]+"/* Originally: 0&&(t=t.substring(0,n)),0!==(t=t.replace(",","")).indexOf("http")&&(t=o+t),e.src=t}}e.removeAttribute("srcset")}})),Array.prototype.slice.call(e.getElementsByTagName("source")).forEach((function(e){e.attributes.srcset&&e.removeAttribute("srcset")})),[].forEach.call(e.querySelectorAll("script"),(function(e){e.parentNode.removeChild(e)})),t(hj.html.getPageDoctype()+e.documentElement.outerHTML)}(r,e,t)}))}),"common"),e.getPageDoctype=hj.tryCatch((function(){return null===document.doctype?"":"\n"}),"common"),e}(),hj.features=function(){var e={};return e.getFeatures=hj.tryCatch((function(){return hj.settings.features||[]}),"hj.features.getFeatures"),e.hasFeature=hj.tryCatch((function(t){var n;try{var r=window.localStorage.getItem("HJ_OVERRIDE_FEATURE:".concat(t));n="true"===r||"1"===r}catch(e){n=!1}return e.getFeatures().indexOf(t)>-1||n}),"hj.features.hasFeature"),e}(),hj.cssBlobs=function(){var e={},t=[];return e.register=function(e){t.push(e)},e.handleBlobStyles=hj.tryCatch((function(e){var n,r=[];if("link"===e.tagName.toLowerCase()&&"rel"in e.attributes&&"stylesheet"===e.attributes.rel.value&&"href"in e.attributes&&0===e.attributes.href.value.indexOf("blob:")){n=hj.selector().get(hj.hq(e));for(var i=0,o=e.sheet.cssRules.length;i");function a(e,t,n){var r={},i=function(){for(var t=e.split("/"),n=[],r=0;r",{put:["PUT",["token","data"]]}),r)},function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return g}));var r=n(79),i=n(7),o=n(4),a=n(35),s=n(23),c=n(136),u=n(48),l=Object(c.a)({storageAccessor:i.a.items.HJ_SESSION,serializer:u.f,deserializer:u.b}),h=function(){var e=s.a.get("session");return(null==e?void 0:e.id)?e:l.get()},d=function(){var e;return null===(e=h())||void 0===e?void 0:e.id},f=function(){var e;return(null===(e=h())||void 0===e?void 0:e.sessionizerBetaEnabled)?1:0},g=hj.tryCatch((function(){var e,t,n=l.get();n||s.a.set("session",null);var i,c,h,d,f,g=s.a.get("session");((null===(e=g)||void 0===e?void 0:e.created)||(g=n),null===(t=g)||void 0===t?void 0:t.created)&&(g.created+a.a=200&&t.status<400?r.isFunction(e.success)&&e.success(t.responseText&&JSON.parse(t.responseText),t):r.isFunction(e.error)&&e.error(t)},t.onerror=function(){r.isFunction(e.error)&&e.error(t)},t.ontimeout=function(){r.isFunction(e.timeout)&&e.timeout(t)},r.isFunction(e.requestAnnotator)&&e.requestAnnotator(t),"POST"!==e.type&&"PUT"!==e.type||!e.data?t.send():t.send(e.data)},r.get=function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.timeout=15e3,n.onload=function(){n.status>=200&&n.status<400&&t&&t(n.responseText)},n.send()},r.eventHandlers={},r.selector="";var i=function(e){var i,o,a,s=window._hjDocument||t;if(r.selector=e,r.isWindow(e))return this[0]=window,this.length=1,this;if(r.isDocument(e,s))return this[0]=s,this.length=1,this;if("object"===n(e))return this[0]=e,this.length=1,this;if("string"==typeof e&&"<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3)return(i=s.createElement("div")).innerHTML=e,this[0]=i.childNodes[0],this.length=1,this;if("string"==typeof e){isNaN(e.charAt(1))||"."!==e.charAt(0)&&"#"!==e.charAt(0)||(e=e.charAt(0)+"\\3"+e.charAt(1)+" "+e.slice(2));try{o=s.querySelectorAll(e)}catch(e){return this.length=0,this}for(a=0;a0&&(this[0].value=e),void 0===this[0]?void 0:this[0]?this[0].value:""},i.prototype.text=function(e){return void 0===e?this[0].textContent:this[0].textContent=e},i.prototype.each=function(e,t){Array.prototype.forEach.call(this,(function(e,n,r){t(n,e,r)}))},i.prototype.append=function(e){var i;"object"===n(e)?"body"===r.selector?t.body.appendChild(e.get(0)):this[0].appendChild(e.get(0)):"body"===r.selector?((i=t.createElement("div")).innerHTML=e,t.body.appendChild(i)):((i=t.createElement("div")).innerHTML=e,this[0].appendChild(i))},i.prototype.hasClass=function(e){return this[0].classList?this[0].classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(this[0].className)},i.prototype.addClass=function(e){var t;for(t=0;t=0;i-=1)if(r[i]===e)return!0;return!1}(this[0],e)},i.prototype.remove=function(){var e;for(e=0;e-1&&o.call(d,e)}},Array.isArray(r.eventHandlers[u])||(r.eventHandlers[u]=[]),r.eventHandlers[u].push(l),t.addEventListener(p[c].split(".")[0],l,!0)):("boolean"==typeof i&&!1===i&&(i=function(e){return e.preventDefault(),!1}),Array.isArray(r.eventHandlers.document)||(r.eventHandlers.document=[]),r.eventHandlers.document.push(i),this[0].addEventListener(p[c].split(".")[0],i,a));else if(r.isDocument(this[0]))for(c=0;c-1))return r(this[0]).get(0).nodeName.toLowerCase()===e;if((t=/([A-Za-z]+)\[([A-Za-z-]+)=([A-Za-z]+)]/g.exec(e)).length)return r.each(r(this[0]).get(0).attributes,(function(e,n){n.name===t[2]&&n.value===t[3]&&(i=!0)})),r(this[0]).get(0).nodeName.toLowerCase()===t[1]&&i}},i.prototype.css=function(e,t){var r,i;for(i=0;i0&&void 0!==arguments[0]?arguments[0]:document.location.href,t=[r.b[r.a.LIVE].SURVEYS,r.b[r.a.REVIEW_WEBAPP].SURVEYS,r.b[r.a.REVIEW].SURVEYS,r.b[r.a.STAGING].SURVEYS,r.b[r.a.DEV].SURVEYS,r.b[r.a.DEV_OLD].SURVEYS],n=document.createElement("a");return n.href=e,t.indexOf(n.hostname)>=0}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,i="boolean"==typeof t.cycles&&t.cycles,o=t.cmp&&(n=t.cmp,function(e){return function(t,r){var i={key:t,value:e[t]},o={key:r,value:e[r]};return n(i,o)}}),a=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!==r(t))return JSON.stringify(t);var n,s;if(Array.isArray(t)){for(s="[",n=0;n-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),r=n.match(/ (\(.+\)$)/);n=r?n.replace(r[0],""):n;var i=this.extractLocation(r?r[1]:n),o=r&&n||void 0,a=["eval",""].indexOf(i[0])>-1?void 0:i[0];return new e({functionName:o,fileName:a,lineNumber:i[1],columnNumber:i[2],source:t})}),this)},parseFFOrSafari:function(t){return t.stack.split("\n").filter((function(e){return!e.match(r)}),this).map((function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=t.match(n),i=r&&r[1]?r[1]:void 0,o=this.extractLocation(t.replace(n,""));return new e({functionName:i,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:t})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),i=[],o=2,a=r.length;o/,"$2").replace(/\([^)]*\)/g,"")||void 0;o.match(/\(([^)]*)\)/)&&(n=o.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var s=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e({functionName:a,args:s,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:t})}),this)}}})?r.apply(t,i):r)||(e.exports=o)}()},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){n.p=hj.scriptDomain;var r=hj.metrics.time();(0,n(225).initErrorLogging)(),n(135),n(226),n(252),n(120),n(227),n(256),n(249),n(60),n(128),n(231),n(232),n(251),n(233),n(234),n(239),n(257),n(240),n(241),n(242),n(253),hj.metrics.timeEnd("resource-blocking-time",{tag:{resource:"modules-js"},start:r,type:"lab"})},function(e,t,n){"use strict";n.r(t),n.d(t,"exceptionLogger",(function(){return u})),n.d(t,"initErrorLogging",(function(){return l}));var r=n(3);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t0?1:.002,y=(null==e?void 0:e.throttleDelay)||1e3,j=(null==e?void 0:e.maxErrors)||10,b=["event_id","stacktrace","release","useragent","User-Agent","logger","scriptversion","module","errorgroup","errormessagegroup"],w=/[?&]logErrors/.test(location.search);function S(){return u.every((function(e){return"loaded"===e.state}))}function _(e){e.state="loaded",e.onLoad(),S()&&v&&g.startProcessing&&g.startProcessing()}function E(){u.filter((function(e){return"unloaded"===e.state})).forEach((function(e){e.check()?_(e):(function(e){var t;e.state="loading";var n=document.createElement("script");n.src=e.url,null===(t=document.getElementsByTagName("head")[0])||void 0===t||t.appendChild(n)}(e),function(e){var t=setInterval((function(){e.check()&&(clearInterval(t),_(e))}),10)}(e))}))}return u=[{name:"sentry",check:function(){return void 0!==hj.Sentry},url:"".concat(hj.scriptDomain).concat(null===(t=r.e.SENTRY)||void 0===t?void 0:t.js),state:"unloaded",onLoad:function(){var e=new hj.Sentry.BrowserClient({dsn:hj.errorUrl,environment:hj.environmentID,release:"insights-client-script-"+window.hjBootstrap.revision,sampleRate:m,defaultIntegrations:!1,integrations:[],beforeSend:function(e){if(!/.*Google.*/.test(window.navigator.userAgent))return function e(t){return hj.hq.each(t,(function(n,r){r&&"object"===i(r)?e(r):r&&"string"==typeof r&&-1==b.indexOf(n)&&(r=(r=(r=(r=r.replace(h,"")).replace(l,"")).replace(d,"123456789012")).replace(f,"<******>"),t[n]=r)})),t}(e)}});(o=new hj.Sentry.Hub(e)).setUser({id:_hjSettings.hjid}),o.getScope().addEventProcessor(c)}}],g.sendException=function(e){try{o.captureException(e.exception,{tags:{logger:e.module}})}catch(e){n("Failed to log exception: "+e,"Exception")}},g.tryCatch=function(e,t){return function(){try{return e.apply(this,arguments)}catch(e){if(w&&console.error(e),window.__TESTS__)throw e;g.log&&g.log(e,t)}}},g.log=function(e,t){var r;n("Exception occurred in '"+t+"'","Exception",e),r={exception:e,module:t},p.length=j&&g.stopProcessing&&g.stopProcessing()}),y))},g.isProcessing=function(){return null!==a},g.stopProcessing=function(){g.isProcessing&&g.isProcessing()&&a&&(clearInterval(a),a=null)},g};function l(){window.hj=window.hj||function(){(window.hj.q=window.hj.q||[]).push(arguments)},window._hjSettings=window._hjSettings||{},hj.defaults={host:"in.hotjar.com",environment:"live",environmentID:"live",insightsHost:"insights.hotjar.com",insightsApiHost:"insights.hotjar.com",staticHost:"static.hotjar.com",varsHost:"vars.hotjar.com",surveysHost:"surveys.hotjar.com",errorUrl:"https://1f207eb734724d2698fcacdeae569a24@sentry-proxy.hotjar.com/1803150",identifyEndpoint:"https://identify.hotjar.com",viewCounterEndpoint:"https://vc.hotjar.io/sessions",viewCounterHitPercentage:.25,surveyImpressionsEndpoint:"https://surveystats.hotjar.io/hit"},hj.host=_hjSettings.host||hj.defaults.host,hj.insightsHost=_hjSettings.insightsHost||hj.defaults.insightsHost,hj.insightsApiHost=_hjSettings.insightsApiHost||hj.defaults.insightsApiHost,hj.staticHost=_hjSettings.staticHost||hj.defaults.staticHost,hj.varsHost=_hjSettings.varsHost||hj.defaults.varsHost,hj.surveysHost=_hjSettings.surveysHost||hj.defaults.surveysHost,hj.errorUrl=void 0!==_hjSettings.errorUrl?_hjSettings.errorUrl:hj.defaults.errorUrl,hj.environment=_hjSettings.environment||hj.defaults.environment,hj.environmentID=_hjSettings.environmentID||hj.defaults.environmentID,hj.identifyEndpoint=_hjSettings.identifyEndpoint||hj.defaults.identifyEndpoint,hj.viewCounterEndpoint=void 0!==_hjSettings.viewCounterEndpoint?_hjSettings.viewCounterEndpoint:hj.defaults.viewCounterEndpoint,hj.viewCounterHitPercentage=void 0!==_hjSettings.viewCounterHitPercentage?_hjSettings.viewCounterHitPercentage:hj.defaults.viewCounterHitPercentage,hj.surveyImpressionsEndpoint=void 0!==_hjSettings.surveyImpressionsEndpoint?_hjSettings.surveyImpressionsEndpoint:hj.defaults.surveyImpressionsEndpoint,hj.exceptions=u(),hj.tryCatch=hj.exceptions.tryCatch}},function(e,t){hj.tryCatch((function(){if(void 0!==window.MutationObserver||void 0!==window.WebKitMutationObserver||void 0!==window.MozMutationObserver){var e,t=(this||{}).__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);n.prototype=t.prototype,e.prototype=new n};if(void 0===(e="undefined"!=typeof WebKitMutationObserver?WebKitMutationObserver:MutationObserver))throw console.error("DOM Mutation Observers are required."),console.error("https://developer.mozilla.org/en-US/docs/DOM/MutationObserver"),Error("DOM Mutation Observers are required");var n,r=function(){function e(){this.nodes=[],this.values=[]}return e.prototype.isIndex=function(e){return+e==e>>>0},e.prototype.nodeId=function(t){var n=t[e.ID_PROP];return n||(n=t[e.ID_PROP]=e.nextId_++),n},e.prototype.set=function(e,t){var n=this.nodeId(e);this.nodes[n]=e,this.values[n]=t},e.prototype.get=function(e){return e=this.nodeId(e),this.values[e]},e.prototype.has=function(e){return this.nodeId(e)in this.nodes},e.prototype.deleteNode=function(e){e=this.nodeId(e),delete this.nodes[e],this.values[e]=void 0},e.prototype.keys=function(){var e,t=[];for(e in this.nodes)this.isIndex(e)&&t.push(this.nodes[e]);return t},e.prototype.getValues=function(){var e,t=[];for(e in this.values)this.isIndex(e)&&t.push(this.values[e]);return t},e.ID_PROP="__hj_mutation_summary_node_map_id__",e.nextId_=1,e}();(m=n||(n={}))[m.STAYED_OUT=0]="STAYED_OUT",m[m.ENTERED=1]="ENTERED",m[m.STAYED_IN=2]="STAYED_IN",m[m.REPARENTED=3]="REPARENTED",m[m.REORDERED=4]="REORDERED",m[m.EXITED=5]="EXITED";var i=function(){function e(e,t,n,r,i,o,a,s){void 0===t&&(t=!1),void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=null),void 0===o&&(o=!1),void 0===a&&(a=null),void 0===s&&(s=null),this.node=e,this.childList=t,this.attributes=n,this.characterData=r,this.oldParentNode=i,this.added=o,this.attributeOldValues=a,this.characterDataOldValue=s,this.isCaseInsensitive=this.node.nodeType===Node.ELEMENT_NODE&&this.node instanceof HTMLElement&&this.node.ownerDocument instanceof HTMLDocument}return e.prototype.getAttributeOldValue=function(e){if(this.attributeOldValues)return this.isCaseInsensitive&&(e=e.toLowerCase()),this.attributeOldValues[e]},e.prototype.getAttributeNamesMutated=function(){var e=[];if(!this.attributeOldValues)return e;for(var t in this.attributeOldValues)e.push(t);return e},e.prototype.attributeMutated=function(e,t){this.attributes=!0,this.attributeOldValues=this.attributeOldValues||{},e in this.attributeOldValues||(this.attributeOldValues[e]=t)},e.prototype.characterDataMutated=function(e){this.characterData||(this.characterData=!0,this.characterDataOldValue=e)},e.prototype.removedFromParent=function(e){this.childList=!0,this.added||this.oldParentNode?this.added=!1:this.oldParentNode=e},e.prototype.insertedIntoParent=function(){this.added=this.childList=!0},e.prototype.getOldParent=function(){if(this.childList){if(this.oldParentNode)return this.oldParentNode;if(this.added)return null}return this.node.parentNode},e}(),o=function(){this.added=new r,this.removed=new r,this.maybeMoved=new r,this.oldPrevious=new r,this.moved=void 0},a=function(e){function n(t,n){e.call(this),this.rootNode=t,this.wasReachableCache=this.reachableCache=void 0,this.anyCharacterDataChanged=this.anyAttributesChanged=this.anyParentsChanged=!1;for(var r=0;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n")),s=o[0],c=o.slice(1).join(">");n(t)[0]&&Array.from(n(t)).forEach((function(e){Array.from(e.assignedElements({flatten:!0})).forEach((function(e){e.matches(s)&&(c?i.push({host:e.shadowRoot||e,selector:c}):r.push(e))}))})),Array.from(t.children).filter((function(e){return e.matches(s)})).forEach((function(e){c?i.push({host:e.shadowRoot||e,selector:c}):r.push(e)}))};i.length>0;)o();return r},u=function(e){var t,n;if(void 0!==e.attr("data-hj-ignore-attributes"))return!0;if(document.body.hasAttribute("data-hj-ignore-attributes"))return!0;for(var r=null!==(t=null===(n=e.get(0))||void 0===n?void 0:n.parentElement)&&void 0!==t?t:null;null!==r&&r!==document.body;){if(r.hasAttribute("data-hj-ignore-attributes"))return!0;r=r.parentElement}return!1};function l(e,t){var n=/(#|@|&|~|=|<|>|`|'|:|"|!|;|,|\?|%|\}|\{|\.|\*|\+|\||\[|\]|\(|\)|\/|\^|\$)/g,r=/(\s|#|@|&|~|=|<|>|`|'|:|"|!|;|,|\?|%|\}|\{|\.|\*|\+|\||\[|\]|\(|\)|\/|\^|\$)/g,a=t.ignoreUUIDClasses?/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/:{test:function(){return!1}},l=hj.tryCatch((function(e){var n,r,i,a,l,g,p,v,m,y=function(e,t){var n,r;if(p=hj.hq(t),(null==t||null===(n=t.includes)||void 0===n?void 0:n.call(t,"hj-shadow:"))||(null==t||null===(r=t.includes)||void 0===r?void 0:r.call(t,"hj-lwc:"))){var i=new RegExp("^(.*?(".concat("hj-shadow:","|").concat("hj-lwc:",").*?)>(.*)$"),"i"),a=o(t.match(i),4),s=a[1],u=a[3];hj.hq.each(hj.hq(s.replace("hj-shadow:","").replace("hj-lwc:","")),(function(e,t){p=Array.from(p).concat(c(t.shadowRoot,u))}))}for(l=0;l"+o+n)}return h(e.parent(),">"+o+n)}),"common"),d=function(e){var r=[];return!(void 0===(e=hj.hq.trim((e||"").replace(/\s\s+/g," ")))||""===e||e.indexOf("yui_")>-1)&&((e=e.replace(n,"\\$1")).split(/\s/g).forEach((function(e){!(r.length-1||v(e))&&(e=e.replace(r,"\\$1"),e=p(e),e=g(e))},g=function(e){if(!e)return e;var t=e.charAt(0);return/\d/.test(t)?"\\3"+t+" "+e.slice(1):e},p=function(e){if(!e||"-"!==e.charAt(0))return e;var t=e.charAt(0),n=e.charAt(1);return/\d/.test(n)?t+"\\3"+n+" "+e.slice(2):e},v=function(e){return 1===e.length&&"-"===e},m=function(e){var r=[];return!(void 0===(e=hj.hq.trim((e||"").replace(/\s\s+/g," ")))||""===e||e.indexOf("yui_")>-1||v(e))&&((e=e.replace(n,"\\$1")).split(/\s/g).forEach((function(e){!(r.length=0}(e[0])?hj.log.debug('Command "'+e[0]+'" blocked due to opt-out',"command"):hj.tryCatch(r,"command")(i):hj.log.debug('Unknown command: "'+e[0]+'"',"command"),n.length>0&&hj.tryCatch(c)()}function u(e){e[0]&&hj.event.signal("trigger:"+e[0])}function l(e){if(e[0]&&Array.isArray(e[0])){var t=hj.privacy.getTagsWithoutPII(e[0]);hj.behaviorData.tagRecording(t)}else hj.log.error("tagRecording was called with an invalid argument. Please provide an array of tags. For example: hj('tagRecording', ['tag1', 'tag2']).\n\nRead more here: https://help.hotjar.com/hc/en-us/articles/115011819488-How-to-Tag-your-Hotjar-Recordings")}return t.vpv=function(){},t.stateChange=function(e){var t=window.location.href;e&&e.length>=1&&e[0]&&(t=hj.url.getUrlFromString(e[0])),hj.log.debug('Changing state to URL "'+t+'"',"command"),hj.currentUrl&&hj.currentUrl!=t&&hj._init.reinit(t)},t.tagRecording=function(e){l(e)},t.trigger=function(e){u(e)},t.identify=function(e){if(e[1]){var t=e[0];t=!t&&0!==t||"null"===t||"undefined"===t?null:String(t),r.userAttributes.set(t,e[1])}else null!=e[0]&&"object"===o(e[0])&&r.userAttributes.set(null,e[0])},t.event=function(e){u(e),l([[e[0]]])},t.session_event=function(e){i.sessionEvents.set(e[0])},t.gaSetTracker=function(e){e[0]&&hj.integrations.google_analytics.sendHotjarUserId.setTracker(e[0])},t._xhr=function(){},t.ready=function(e){e.forEach((function(e){e()}))},e.run=function(){hj.command=this},e.activate=function(){s||(s=!0,Object.defineProperty(n,"push",{writable:!0,value:function(){for(var e=0;e0&&c())},hj.initialVisitDataSent&&e.activate(),e}(),!0)}),"command")()},function(e,t,n){"use strict";n.r(t);var r=n(67),i=n(142),o=n(14),a=n(21),s=n(79),c=n(117),u=n(7),l=n(4),h=n(22),d=n(23);var f=function(e){if(h.a.set("active",!1),hj.settings.record){var t=void 0===hj.settings.record_targeting_rules||!hj.settings.record_targeting_rules.length;o.a.setRecordingEnabled(!!sessionStorage.getItem("_hjRecordingEnabled")),hj.log.debug("_hjRecordingEnabled is set to "+o.a.isRecordingEnabled(),"recordings"),o.a.isRecordingEnabled()&&!d.a.get("isNewSession")||t?c.a.start():hj.targeting.matchRules(hj.settings.record_targeting_rules,e,hj.tryCatch((function(){c.a.start()}),"behavior-data.maybeStartRecordings")),(u.a.items.SESSION_RESUMED.get()||hj.store.recording.get("isPageVisitStale"))&&(u.a.items.SESSION_RESUMED.clear(),hj.store.recording.set("isPageVisitStale",!1),c.a.resume())}};hj.tryCatch((function(){return hj.loader.registerModule("BehaviorData",(e={},hj.behaviorData={tagRecording:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e=e||[];for(var i=[],o=h.a.get("autoTagsToProcess"),s=h.a.get("tagsToProcess"),c=0;c0&&void 0!==arguments[0]?arguments[0]:hj.hq.noop;Object(s.a)("behavior-data.runRecordings")&&(u.a.items.SESSION_RESUMED.get()&&o.a.trackSessionResumed(),f(e))},e),!1);var e}),"behavior-data")()},function(e,t,n){n(235),n(236),n(237),n(238)},function(e,t){hj.tryCatch((function(){hj.insertedRules=function(){var e,t={},n=[],r=!1,i=function(e,t,n,r){var i,o={};return o.rule=t,o.index=n,o.parentSelector=(i=e,hj.selector().get(hj.hq(i))),o.nodeId=hj.treeMirror.getNodeId(e),r&&(o.id=r),o};function o(e){n.forEach((function(t){t([e])}))}return t.init=function(){r||(e=CSSStyleSheet.prototype.insertRule,CSSStyleSheet.prototype.insertRule=function(){var t=Array.prototype.slice.call(arguments),n=e.apply(this,arguments),r=this.ownerNode||this.ownerHostNode,a=t[0],s=t[1];if(r instanceof Node&&r.ownerDocument===document){var c=this.sheetId||null,u=i(r,a,s,c);o(u)}else{var l=this;hj.treeMirror.onTreeMirrorUpdate((function(){var e=l.ownerNode||l.ownerHostNode;if(e instanceof Node&&e.ownerDocument===document){var t=l.sheetId||null;o(i(e,a,s,t))}}))}return n},r=!0)},t.register=function(e,r){n.push(e),r&&e(t.getCurrentInsertedRules())},t.getCurrentInsertedRules=hj.tryCatch((function(e){for(var t=Array.prototype.slice,n=t.call(document.styleSheets).filter((function(n){if(void 0!==e&&!0===e&&n.href&&0===n.href.indexOf("blob:"))return!0;var r="";if(n.href&&0!==n.href.indexOf("blob:"))return!1;try{n.cssRules&&n.cssRules.length}catch(e){return!1}if(0===n.cssRules.length)return!1;n.ownerNode&&void 0!==n.ownerNode.innerText?r=n.ownerNode.innerText:n.ownerNode&&void 0!==n.ownerNode.innerHTML&&(r=n.ownerNode.innerHTML);var i=r.match(/{/g);return(i?i.length:0)document.documentElement.clientWidth||document.documentElement.clientHeight&&o>document.documentElement.clientHeight||h||(s++,t&&clearInterval(t),t=setTimeout(c,e.time),function(t,n){var r=Math.abs(t-a.x),i=Math.abs(n-a.y);Math.sqrt(Math.pow(r,2)+Math.pow(i,2))>e.distance&&c()}(n.clientX,n.clientY),a.x=n.clientX,a.y=n.clientY,a.pageX=n.pageX,a.pageY=n.pageY,s!==e.clicks))){var d=null;hj.tryCatch((function(){var e,t,r=(null==n||null===(e=n.composedPath)||void 0===e||null===(t=e.call(n))||void 0===t?void 0:t.length)?n.composedPath()[0]:n.target,o=hj.selector(i.a.getSelectorVersion()).get(hj.hq(r));if(r&&"pageX"in n&&"pageY"in n&&void 0!==o){var a=hj.hq(r).offset(),s=n.pageX-a.left,c=n.pageY-a.top;d={selector:o,pageX:n.pageX,pageY:n.pageY,offsetX:s,offsetY:c}}}),"user-behaviour.rageClick.onClick")(),hj.autotag.rageClick(d)}}return n.listen=function(){e=o[Object(r.a)()],hj.hq(document).on("mousedown.user_behavior_rageclick",u)},n}(),a=function(){var e,t={},n=[];function r(){var e=[],t=Array.prototype.filter.call(hj.hq("form"),(function(t){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:null;o(["formsubmit"],e)},r.formInteract=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;o(["forminteract"],e)},r.rageClick=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;o(["rageclick"],e)},r.start=hj.tryCatch((function(){hj.features.hasFeature("settings.billing_v2")&&!t&&(c(),t=!0)}),"user-behavior.autotag.start"),r}),"user-behavior.autotag")(),e.run=Function.prototype,e),!1)}),"user-behavior")()},function(e,t,n){"use strict";n.r(t);var r=n(55),i=n(3);hj.tryCatch((function(){hj.feedback=function(){var e={loaded:!1};function t(){Object(r.a)(i.e.PREACT_INCOMING_FEEDBACK)}function n(){Object(r.a)(i.e.INCOMING_FEEDBACK)}function o(){var r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e.loaded&&!r||(e.loaded=!0,hj.widget.setLanguage(hj.widget.feedbackData.language),hj.features.hasFeature("feedback.widgetV2")?t():n())}function a(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e.loaded&&!t||(e.loaded=!0,hj.widget.setLanguage(hj.widget.embeddedFeedbackWidgets[0].language),Object(r.a)(i.e.PREACT_INCOMING_FEEDBACK))}function s(t){var n=(hj.settings.feedback_widgets||[]).filter((function(e){var t=e.display_type;return"button"===(void 0===t?"button":t)}));hj.hq.each(n,(function(n,r){hj.targeting.matchRules(r.targeting,t,hj.tryCatch((function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];hj.log.debug("Feedback widget #"+r.id+" has matched.","feedback"),!hj.widget.data||hj.widget.data.id===r.id&&"incoming"===hj.widget.data.type?(r.created_epoch_time-=31536e4,hj.widget.addMatchingWidget("incoming",r.id,r.created_epoch_time,r.targeting_percentage,(function(){hj.widget.feedbackData=r,hj.tryCatch(o,"feedback-button-load")(t)}),e.remove)):hj.log.debug("Another feedback widget is already present.","feedback")}),"feedback.run.matchRules-callback"))}))}function c(e){var t=(hj.settings.feedback_widgets||[]).filter((function(e){return"inline"===e.display_type})).filter((function(t){return hj.targeting.matchRules(t.targeting,e,(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];void 0!==hj.widget.embeddedFeedbackWidgets&&(hj.widget.embeddedFeedbackWidgets.push(t),hj.tryCatch(a,"feedback-embeddable-load")(e))}))}));hj.widget.embeddedFeedbackWidgets=t,t.length>0&&hj.tryCatch(a,"feedback-embeddable-load")()}return e.run=hj.tryCatch((function(t){e.loaded=!1,hj.tryCatch(s,"feedback-button")(t),hj.tryCatch(c,"feedback-embeddable")(t)}),"feedback"),e.remove=hj.tryCatch((function(e){hj.widget.feedbackData?(hj.hq("#_hj_feedback_container").length>0&&hj.hq("#_hj_feedback_container").parent().remove(),delete hj.widget.feedbackData,hj.hq(window).off("resize"),setTimeout((function(){e()}),1)):e()})),hj.isPreview&&(window._hjFeedbackReload=hj.tryCatch((function(e,t){hj.widget.feedbackData=e,hj.settings.legal_name=e.legal_name,hj.settings.privacy_policy_url=e.privacy_policy_url,t&&(hj.settings.features=t),hj.tryCatch(o,"feedback")(!0)}),"feedback")),e},hj.loader.registerModule("Feedback",hj.feedback(),!0)}),"feedback")()},function(e,t,n){"use strict";n.r(t);var r=n(142),i=n(55),o=n(3),a=n(30),s=n(7),c=n(16),u=n(37),l=n(31);hj.tryCatch((function(){hj.polls=function(){var e,t={};var n=hj.tryCatch((function(e,t){e.display_type!==a.a.INLINE_EMBEDDED&&function(e){if(hj.surveyImpressionsEndpoint&&!hj.isPreview){var t="".concat(hj.surveyImpressionsEndpoint,"?id=").concat(e,"&device=").concat(Object(c.a)());hj.log.debug("poll id: ".concat(e," recording impression."),"poll"),hj.ajax.get(t)}else hj.log.debug("poll id: ".concat(e," skipping recording impression."),"poll")}(e.id);var n={scriptSrc:"".concat(hj.scriptDomain).concat(o.e.SURVEY_ISOLATED.js)};hj.widget.renderSurvey(e,t,n)}),"polls");function h(e){return hj.features.hasFeature("survey.iframe.".concat(e.display_type))?o.e.SURVEY_BOOTSTRAPPER:o.e.SURVEY_V2}var d=hj.tryCatch((function(t,r){hj.widget.pollsData=hj.widget.pollsData||{},hj.widget.pollsData[t.id]=t,hj.widget.pollsResponsesUUID=hj.widget.pollsResponsesUUID||{},hj.widget.pollsResponsesUUID[t.id]=Object(l.a)(),hj.widget.setLanguage(t.language),hj.log.debug("Rendering poll widget.","poll");var o=h(t);o!==e?Object(i.a)(h(t),(function(){e=o,n(t,r)})):n(t,r)}),"polls");var f=hj.tryCatch((function(e){var t=JSON.parse(JSON.stringify(e));return function(e){hj.hq.each(e.content.questions,(function(e,t){t.answers&&hj.hq.each(t.answers,(function(e,t){t.index=e}))}))}(t),function(e){hj.hq.each(e.content.questions,(function(e,t){t.randomize_answer_order&&(t.pin_last_to_bottom?t.answers=Object(c.i)(t.answers.slice(0,-1)).concat(t.answers.slice(-1)):Object(c.i)(t.answers))}))}(t),t}),"polls");return t.add=hj.tryCatch((function(e){hj.widget.pollsData=hj.widget.pollsData||{},hj.widget.pollsData[e.id]=f(e),hj.tryCatch(hj.rendering.callAccordingToCondition,"polls")(hj.widget.pollsData[e.id],"poll",d)}),"polls"),t.addEmbedded=hj.tryCatch((function(e,n){hj.widget.emptyMatchingWidgets();var r="external_link"===e.display_type?void 0:e.targeting_percentage;hj.widget.addMatchingWidget("poll",e.id,e.created_epoch_time,r,(function(){var t=f(e);t.skin="light",t.background="#ffffff",s.a.items.POLL_DONE.exists(e.id)&&"always"!==e.persist_condition&&(hj.log.debug("Offsite poll "+e.id+" was already submitted.","poll"),t.is_submitted=!0),hj.widget.pollsData=hj.widget.pollsData||{},hj.widget.pollsData[t.id]=t,d(t,n[0]),"function"==typeof window.hjRenderCallback&&window.hjRenderCallback({background:e.background})}),t.remove)}),"polls"),t.remove=hj.tryCatch((function(e,t){hj.widget.pollsData[t]?(Object(u.c)(document.body),Object(u.d)(document.body),delete hj.widget.pollsData[t],setTimeout((function(){e()}),1)):e()}),"polls"),t.run=hj.tryCatch((function(e){var n=hj.hq("._hj-survey-embed-container"),i=n.attr("data-survey-id"),o=Object(r.b)(e),c=!1;hj.hq.each(hj.settings.polls||[],(function(r,u){var l=u.display_type===a.a.EXTERNAL,h=u.display_type===a.a.POPOVER||u.display_type===a.a.FULL_SCREEN||u.display_type===a.a.BUTTON||u.display_type===a.a.INLINE_EMBEDDED;n.length>0&&l?u.uuid===i&&(hj.log.debug("Offsite poll #"+u.id+" has matched with the embedded UUID "+i,"poll"),c=!0,t.addEmbedded(u,n)):!o&&h&&hj.targeting.matchRules(u.targeting,e,hj.tryCatch((function(){hj.log.debug("Poll #"+u.id+" has matched.","poll"),s.a.items.POLL_DONE.exists(u.id)&&"always"!==u.persist_condition?hj.log.debug("Poll was already submitted.","poll"):hj.widget.addMatchingWidget("poll",u.id,u.created_epoch_time,u.targeting_percentage,(function(){return t.add(u)}),(function(e){return t.remove(e,u.id)}),u.display_type===a.a.INLINE_EMBEDDED)}),"polls.run.matchRules-callback"))})),o&&!c&&(hj.hq(document).trigger("hj-embedded-survey-mismatch"),hj.widgetDelay.clear(),hj.widget.emptyMatchingWidgets(),hj.log.debug("Could not match the embedded UUID.","poll"))}),"polls"),hj.isPreview&&(window._hjPollReload=hj.tryCatch((function(e,t){hj.widget.pollsData=hj.widget.pollsData||{};var n=f(e);hj.widget.pollsData[e.id]=n,hj.settings.legal_name=e.legal_name,hj.settings.privacy_policy_url=e.privacy_policy_url,t&&(hj.settings.features=t),hj.tryCatch((function(){d(n)}),n,"polls")()}),"polls")),t},hj.loader.registerModule("Polls",hj.polls(),!0)}),"polls")()},function(e,t,n){"use strict";n.r(t);var r=n(7),i=n(55),o=n(3),a=n(58),s=n(30),c=n(142);hj.tryCatch((function(){hj.loader.registerModule("Surveys",function(){var e={};function t(e){return e.display_type===s.a.EXTERNAL?Object(c.a)(e.uuid,hj.surveysHost):e.public_url}return e.run=hj.tryCatch((function(n){if(!Object(c.b)(n)){var a=(hj.settings.polls||[]).filter((function(e){return e.invite_enabled&&e.display_type===s.a.EXTERNAL})),u=(hj.settings.surveys||[]).concat(a);hj.hq.each(u||[],(function(a,s){hj.targeting.matchRules(s.targeting,n,hj.tryCatch((function(){hj.log.debug("Survey #"+s.id+" has matched.","survey"),r.a.items.SURVEY_INVITES_CLOSED.exists(s.id)?hj.log.debug("Survey was already viewed.","survey"):hj.widget.addMatchingWidget("survey",s.id,s.created_epoch_time,s.targeting_percentage,(function(){hj.survey.data=s,hj.rendering.callAccordingToCondition(hj.survey.data,"survey",hj.tryCatch((function(){var e;e=hj.survey.data,hj.widget.surveyInvitationData={id:e.id,effectiveShowBranding:e.effective_show_branding,title:e.invite.title,description:e.invite.description,button:e.invite.button,close:e.invite.close,url:t(e)},Object(i.a)(o.e.SURVEY_INVITATION)}),"polls"))}),e.remove)}),"surveys.run.matchRules-callback"))}))}}),"surveys"),e.remove=hj.tryCatch((function(e){hj.survey.data?(hj.hq(".".concat(a.a.SURVEY_INVITES)).length>0&&hj.hq(".".concat(a.a.SURVEY_INVITES)).remove(),delete hj.survey.data,setTimeout((function(){e()}),1)):e()})),e}(),!0)}),"surveys")()},function(e,t,n){var r,i,o;!function(n,a){"use strict";i=[],void 0===(o="function"==typeof(r=function(){function e(e){return e.charAt(0).toUpperCase()+e.substring(1)}function t(e){return function(){return this[e]}}var n=["isConstructor","isEval","isNative","isToplevel"],r=["columnNumber","lineNumber"],i=["fileName","functionName","source"],o=n.concat(r,i,["args"],["evalOrigin"]);function a(t){if(t)for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1})).reduce((function(e,t){return i(i({},e),{},o({},t[0],t[1]))}),{});if(!t.t)return{};return{event:t.t,category:t.ec||"",action:t.ea||"",label:t.el||"",value:t.ev||""}}(e.get("hitPayload"));"event"===n.event&&h("ga",n)}))}))}function l(e,t){!t.length||t.length<2||"event"!==t[0]||h(e,{action:t[1],category:t[2]&&t[2].event_category||"",label:t[2]&&t[2].event_label||"",value:t[2]&&t[2].value||""})}function h(e,t){if(!function(e){return"detect_user"===e.action&&"Hotjar"===e.category}(t)){var n=function(e){return"GA_"+[e.action,e.category,e.label,e.value].filter((function(e){return 0===e||Boolean(e)})).join("-")}(t),r=function(e){return"GA_"+e.action}(t);hj.log.debug("intercepting ".concat(e,": ")+JSON.stringify(t)),hj("event",n),n!==r&&hj("event",r),hj.event.signal("int.ga",t)}}function d(e,t){return function(n,r){hj.log.debug("[".concat(e,"] ").concat(n),t,r)}}function f(e){return Array.from(e).map((function(e){return JSON.stringify(e)}))}function g(e,t,n,r,i){var o=1;if(void 0!==i&&hj.log.debug("Retry iteration ".concat(o," of ").concat(i)),e())return t(!0);var a=setInterval((function(){return o++,e()?(clearInterval(a),t(!0)):o>=r?(clearInterval(a),t(!1)):void 0}),n)}function p(e){return e&&"string"==typeof e?e.replace(/[\W_]+/g,"-"):""}n.r(t);var v,m,y=d("ga.forward_events","integration"),j={setup:hj.tryCatch((function(e){if(e.tag_sessions){var t=c(),n="function"==typeof window.gtag;g((function(){return void 0!==window.dataLayer&&void 0!==window.dataLayer.length}),(function(e){if(e)return y("Intercepting dataLayer"),void function(){var e=window.dataLayer;if(!0!==e._hj){e.forEach((function(e){l("dataLayer",e)}));var t=e.push;e.push=function(){t.apply(e,arguments);var n=arguments[0];l("dataLayer",n)},e._hj=!0}}();var t;n&&(y("Intercepting gtag"),t=window.gtag,window.gtag=function(){var e=Array.prototype.slice.call(arguments);t.apply(null,e),l("gtag",e)})}),3e3,5),t&&(y("Intercepting ga"),u())}}),"ga.forward_events")},b=d("ga.send_hjuid"),w=60,S=!0,_=hj.tryCatch((function(){hj.store.session.on("user.id",(function(e){"string"!=typeof e||e.length<8?b("invalid userid: '".concat(e,"'")):(b("got userId"),m=e.substring(0,8),O())})),E()}),"integrations.googleAnalytics"),E=hj.tryCatch((function(){if(!v){if(c()){var e=window[window.GoogleAnalyticsObject||"ga"];return b("`ga` variable is available, waiting for tracker."),void e((function(e){C(e,!0)}))}w<=0?b("given up looking for GA module"):(w-=1,setTimeout(E,500))}}),"integrations"),C=hj.tryCatch((function(e,t){e&&(v&&t||(v!==e&&(b("got fresh tracker"),S=!0),v=e,O()))}),"integrations"),O=hj.tryCatch((function(){S&&m&&v&&(S=!1,v.send("event","Hotjar","detect_user",m,{nonInteraction:1}),b("successfully sent detect_user event"))}),"integrations"),I={setup:_,setTracker:hj.tryCatch((function(e){C(e,!1)}),"integrations.googleAnalytics")},N=d("ga.send_hjuid_gtag"),T={setup:hj.tryCatch((function(){var e=window.dataLayer;function t(){N("calling gtag(".concat(f(arguments),")")),e.push(arguments)}void 0!==e?hj.store.session.on("user.id",(function(e){if(e&&"string"==typeof e&&!(e.length<8)){var n=e.substring(0,8);t("set","user_properties",{hjuid:n}),t("event","detect_user",{event_category:"Hotjar",event_label:n,non_interaction:!0})}})):N("`dataLayer` is undefined")}),"ga.send_hjuid_gtag")},k={},R=window.optimizely;function A(e){"applied"===e.name&&(hj.log.debug("Optimizely - campaign decided; ready to tag experiments.","integration"),x())}function x(){var e,t,n,r,i;hj.log.debug("Optimizely - attempting to tag active experiments.","integration"),hj.log.debug("Optimizely - refreshing active experiment variation map.","integration"),k={},R&&"get"in R&&(r=R.get("state"),i=R.get("data"),r.getActiveExperimentIds().forEach((function(o){t=i.experiments[o].name||o,e=r.getVariationMap()[o],n=e.name||e.id,k[t]=n}))),function(){hj.log.debug("Optimizely - looking for tags.","integration");var e=[];for(var t in k)hj.event.signal("exp.opt",{experimentId:t,variantId:k[t]}),e.push(t+"/"+k[t]);return e.length>0?hj.log.debug("Optimizely - found "+e.length+" tags.","integration",e):hj.log.debug("Optimizely - no tags found.","integration"),e}().forEach((function(e){hj("event",e)}))}var P={setup:hj.tryCatch((function(){void 0!==R&&"function"==typeof R.push&&"function"==typeof R.get&&void 0!==R.get("state")&&void 0!==R.get("data")?(hj.log.debug("Optimizely - listening for campaignDecided event.","integration"),(R=window.optimizely||[]).push({type:"addListener",filter:{name:"campaignDecided"},handler:A}),x()):hj.log.debug("`window.optimizely` is not ready","integration")}),"optimizely.setup")},D=n(7),M=function(){return null!==D.a.items.HUBSPOT_UTK.get()},L=d("hubspot","integrations"),U={setup:hj.tryCatch((function(){L("HubSpot setup started"),g(M,(function(e){if(e){var t=D.a.items.HUBSPOT_UTK.get();L("HubSpot UTK found: ".concat(t)),hj.event.signal("int.hubspot",{utk:t})}else L("HubSpot UTK cookie not found")}),5e3,5)}),"hubspot.setup")};var H={setup:hj.tryCatch((function(){void 0!==window.ub&&void 0!==window.ub.page&&void 0!==window.ub.page.variantId?(hj.log.debug("Unbounce experiment in page '".concat(window.ub.page.name,"' is on variant '").concat(window.ub.page.variantId,"'"),"integration",window.ub),hj.event.signal("exp.ub",{experimentId:window.ub.page.name,variantId:window.ub.page.variantId}),hj("event","".concat(p(window.ub.page.name),"-variant-").concat(window.ub.page.variantId))):hj.log.debug("Unbounce experiment not found","integration")}),"unbounce.setup")},q=d("mixpanel.send_events"),V=function(){return void 0!==window.mixpanel&&void 0!==window.mixpanel.set_config},W={setup:hj.tryCatch((function(){g(V,(function(e){e?(q("Registering mixpanel hook"),window.mixpanel.set_config({hooks:{before_send_events:function(e){var t=p(e.event);return q("sending mixpanel payload: ".concat(e.event)),hj("event","MP_".concat(t)),hj.event.signal("int.mp",{event:t}),e}}})):q("mixpanel global object not found or set_config not ready")}),3e3,5)}),"mixpanel.setup")},z=d("ab-tasty","integration");function F(){return void 0!==window.ABTasty&&void 0!==window.ABTasty.hitServiceNotifierSubscribe}var B={setup:hj.tryCatch((function(){function e(e){if("CAMPAIGN"===e.type&&e.data&&e.data.caname&&e.data.vaname){var t=e.data,n=t.caname,r=t.vaname;z("AB Tasty campaign '".concat(n,"' is on variant '").concat(r,"'"),e),hj.event.signal("exp.abt",{experimentId:n,variantId:r},!0);var i=p("".concat(n,"-").concat(r));hj("event",i),z("Sending event '".concat(i,"'"))}else z("Invalid AB Tasty event",e)}g(F,(function(t){t?(z("AB Tasty global object found"),window.ABTasty.hitServiceNotifierSubscribe(e,"CAMPAIGN",{withHitHistory:!0})):z("AB Tasty global object not found")}),2e3,10)}),"abTasty.setup")},G=d("kissmetrics","integration"),Y=function(){return void 0!==window.KM&&void 0!==window.KM.i},K={setup:hj.tryCatch((function(){g(Y,(function(e){if(e){var t=window.KM.i();G("Kissmetrics User ID found: ".concat(t)),hj("identify",null,{kissmetrics_id:t})}}),5e3,5)}),"kissmetrics.setup")};hj.tryCatch((function(){hj.loader.registerModule("IntegrationsModule",(hj.integrations=hj.tryCatch((function(){return{optimizely:P,google_analytics:{forwardEvents:j,sendHotjarUserId:I,sendHotjarUserIdGtag:T},hubspot:U,unbounce:H,mixpanel:W,abTasty:B,kissmetrics:K}}),"integrations")(),{run:hj.tryCatch((function(){var e=hj.settings.integrations;e&&(e.optimizely&&e.optimizely.tag_recordings&&hj.integrations.optimizely.setup(),e.google_analytics&&(hj.integrations.google_analytics.forwardEvents.setup(e.google_analytics),e.google_analytics.send_hotjar_id&&(hj.integrations.google_analytics.sendHotjarUserId.setup(e.google_analytics),hj.integrations.google_analytics.sendHotjarUserIdGtag.setup(e.google_analytics))),e.unbounce&&e.unbounce.tag_recordings&&hj.integrations.unbounce.setup(),e.mixpanel&&e.mixpanel.send_events&&hj.integrations.mixpanel.setup(),e.hubspot&&e.hubspot.enabled&&e.hubspot.send_recordings&&hj.integrations.hubspot.setup(),e.abtasty&&e.abtasty.tag_recordings&&hj.integrations.abTasty.setup(),e.kissmetrics&&e.kissmetrics.send_user_id&&hj.integrations.kissmetrics.setup())}))}),!1)}),"integrations")()},function(e,t,n){"use strict";n.r(t),n.d(t,"eventStream",(function(){return T}));n(120),n(135);var r=n(67),i=Object.freeze({MOUSE_CLICK:r.a.MOUSE_CLICK,MOUSE_MOVE:r.a.MOUSE_MOVE,SCROLL:r.a.SCROLL,VIEWPORT_RESIZE:r.a.VIEWPORT_RESIZE,KEY_PRESS:r.a.KEY_PRESS,SELECT_CHANGE:r.a.SELECT_CHANGE,INPUT_CHOICE_CHANGE:r.a.INPUT_CHOICE_CHANGE,CLIPBOARD:r.a.CLIPBOARD}),o=n(4);function a(e){return"".concat(parseFloat(e/1048576).toFixed(2))}var s=n(7),c=n(23),u=n(22);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var h=hj.tryCatch((function(e){var t,n,h,d,f,g={},p="",v=void 0,m=null,y=!1,j=o.a.now(),b=!1;g.events=[],g.storePageContent=function(t,n){hj.log.warnIfEmpty(t,"tryStorePageContent: content"),hj.log.warnIfEmpty(n,"tryStorePageContent: urlMD5"),e.storePageContent(t,(function(e){var t=e.content_uuid;t?(y=!0,u.a.set("pageContent",{uuid:t,md5:n})):hj.log.warn("Expecting res.content_uuid but it was not found!")}),(function(e){if(413===e.status){var n=a(t.length);g.write("content_size_too_large",{size:n,source:"page_visit",timestamp:o.a.now()},!1)}}))},g.reportPageContent=function(e){f=u.a.on("pageContent",(function(t){var n=t.uuid,i=t.md5,o=hj.dom.getCSSURLs().map((function(e){return{content_type:2,url:e,url_hash:hj.md5(hj.b64EncodeUnicode(e))}}));hj.log.warnIfEmpty(e,"sendReportContent: pageVisitKey"),hj.log.warnIfEmpty(n,"sendReportContent: uuid"),hj.log.warnIfEmpty(i,"sendReportContent: md5"),hj.log.warnIfEmpty(o,"sendReportContent: webResourceInfos");var a,s,c,u={page_content_url_md5:i,page_content_uuid:n,web_resource_infos:o,content_submitted:y};g.writeNewFrame((a={},s=r.a.REPORT_CONTENT,c=u,s in a?Object.defineProperty(a,s,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[s]=c,a),e).flush(),y=!1}))},g.clearPageContent=function(){f(),u.a.set("pageContent",void 0)},g.setCurrentPageVisitKey=hj.tryCatch((function(e){p!==e&&(p=e,t()),g.flush()}),"data"),g.writeNewFrame=hj.tryCatch((function(e,n){return t(n),g.write(e),t(),g})),g.write=hj.tryCatch((function(e,t,n){var r;if(hj.isPreview)return g;if("object"===l(e))return hj.hq.each(e,(function(e,t){g.write(e,t,!0)})),g;var i=e,a=S(i);if(!a&&b)return g;if(!a&&E())return C(),g;a&&(m=o.a.now()),a&&b&&O(),hj.viewport.isPageVisitStale()&&g.events.push(w(p,!1));var s=null!==(r=g.events.pop())&&void 0!==r?r:w();return n?s[i]=t:(s[i]=s[i]||[],s[i].push(t)),g.events.push(s),g}),"data"),g.flush=hj.tryCatch((function(){var n=c.a.get("user.id");if(v&&clearInterval(v),!n)return t();var r=_(),i=r.length;if(i>0)for(var o=0;o1&&void 0!==arguments[1])||arguments[1];return!e&&t&&hj.viewport.isPageVisitStale()&&(hj.store.recording.set("isPageVisitStale",!0),hj._init.reinit(window.location.href,!1)),{pageVisitKey:e||p}},S=function(e){return hj.hq.inArray(e,hj.hq.values(i))};t=hj.tryCatch((function(e){g.events.push(w(e))}),"data");var _=hj.tryCatch((function(){for(var e,r=g.events.length,i=[],o=[],a=[],s=0;s1){var c=[];e.autotag_recording&&(c=e.autotag_recording.filter((function(e){return"rageclick"===e.name}))),c.length>0?o.push(e):(e.clipboard&&i.push(e.clipboard),a.push(n(e)))}var u=d(o,i);return g.events=u.leftover,t(),[].concat(a,u.sendable)}),"data");d=hj.tryCatch((function(e,t){var r=[],i=[];return hj.hq.each(t,(function(t,n){e=e.filter((function(e){if("copy"===n.action||"cut"===n.action)return n.time-e.autotag_recording[0].time>5e3}))})),hj.hq.each(e,(function(e,t){hj.time.getNow()-t.autotag_recording[0].time<5e3?r.push(t):i.push(n(t))})),{leftover:r,sendable:i}}),"data.filterRageClicks"),n=hj.tryCatch((function(e){return hj.hq.each(e,(function(t,n){hj.hq.isFunction(n)&&(e[t]=n())})),e.page_visit_key=e.pageVisitKey,delete e.pageVisitKey,e.viewport_id=hj.viewport.getId(),"object"===l(e.mutation)&&(e.mutation=h(e.mutation)),e}),"data"),h=hj.tryCatch((function(e){var t,n="";if("object"===l(e))return hj.hq.each(e,(function(r,i){"object"===l(i.c)&&(hj.hq.each(i.c,(function(i,o){"object"===l(o.attributes)&&"string"==typeof o.attributes.style&&(o.attributes.style===t&&o.id===n&&(e[r].c[i]=null),t=o.attributes.style,n=o.id)})),e[r].c=e[r].c.filter((function(e){return e})),e[r].c.length||delete e[r].c),void 0===e[r].a&&void 0===e[r].b&&void 0===e[r].c&&void 0===e[r].d&&(e[r]=null)})),e.filter((function(e){return e}))}),"data");var E=function(){var e,t=null!==(e=m)&&void 0!==e?e:j;return o.a.now()-t>18e5},C=function(){sessionStorage.removeItem("_hjRecordingEnabled"),hj.store.recording.set("active",!1),b=!0},O=function(){b=!1,s.a.items.SESSION_RESUMED.set(!0),hj._init.reinit(window.location.href,!0)};return g})),d=n(130),f=n(16),g=n(48),p=n(3),v=n(92),m={maxRetries:5,delay:3e3,firstAttemptDelay:0,baseExponent:2};function y(e){var t=this;if(!e)throw new Error("HotjarWebSocket requires a flush callback");this._connected=!1,this._connecting=!1,this._isReconnecting=!1,this._closedPermanently=!1,this.sessionTimedOutDueToInactivity=!1,this._finished=!1,this._pingInterval=3e4,this._pingIntervalId=void 0,this._sessionInactiveInterval=18e5,this._lastUserActivityTime=(new Date).getTime(),this._unloadTimeoutStarted=!1,this._ws=null,this._wsUrl="",this._flush=e,this._msgPrefix="{}\n",this._clearPings=function(){clearInterval(t._pingIntervalId)},this._closeConnection=function(){t._connected=!1,t._connecting=!1,t._isReconnecting=!1,t._closedPermanently=!0}}y.prototype.connect=hj.tryCatch((function(){if(this._sessionIsDisabled())return!1;if(!this._connected&&!this._connecting&&!this._isReconnecting){this._connecting=!0;var e=this;c.a.on("user.id",(function(){var t=_hjSettings.wsMockUrl||"wss://".concat(Object(f.c)(),"/api/v2/client/ws");e._wsUrl="".concat(t,"?v=").concat(p.b);try{e._createAndConnect()}catch(e){hj.log.debug("The Web Socket connection was refused. \n ".concat(e))}}))}return!0}),"data.HotjarWebSocket.connect"),y.prototype.updateLastUserActivityTime=hj.tryCatch((function(){this._lastUserActivityTime=(new Date).getTime()}),"data.HotjarWebSocket.updateLastUserActivityTime"),y.prototype.disconnect=hj.tryCatch((function(){this._connected&&(hj.log.debug("Disconnecting Web Socket.","websocket"),this._flush(),this.close())}),"data.HotjarWebSocket.disconnect"),y.prototype.isConnected=hj.tryCatch((function(){return!!this._connected&&((new Date).getTime()-this._lastUserActivityTime<=this._sessionInactiveInterval||(sessionStorage.removeItem("_hjRecordingEnabled"),hj.store.recording.set("active",!1),this.close(),this.sessionTimedOutDueToInactivity=!0,!1))}),"data.HotjarWebSocket.isConnected"),y.prototype.send=hj.tryCatch((function(e){this._sessionIsDisabled()||(hj.log.debug("Sending data to Web Socket","websocket",e),this._ws.send(e))}),"data.HotjarWebSocket.send"),y.prototype.close=hj.tryCatch((function(){hj.log.debug("Closing Web Socket.","websocket"),this._connected=!1,this._connecting=!1,this._finished=!0,this._ws.close()}),"data.HotjarWebSocket.close"),y.prototype.getBufferedAmount=hj.tryCatch((function(){return this._ws.bufferedAmount}),"data.HotjarWebSocket.getBufferedAmount"),y.prototype._sessionIsDisabled=hj.tryCatch((function(){return this._closedPermanently||this.sessionTimedOutDueToInactivity||"1"===s.a.items.SESSION_TOO_LARGE.get()}),"data.HotjarWebSocket._sessionIsDisabled"),y.prototype._ping=hj.tryCatch((function(){this._connected&&(hj.log.debug("Pinging Web Socket","websocket"),this._ws.send(this._msgPrefix+"ping"))}),"data.HotjarWebSocket._ping"),y.prototype._createAndConnect=hj.tryCatch((function(){var e=this,t=this;if(t._finished)hj.log.debug("Unload event triggered, don't reconnect"),!1===t._unloadTimeoutStarted&&(t._unloadTimeoutStarted=!0,setTimeout((function(){t._finished=!1,t._unloadTimeoutStarted=!1}),1e3));else{hj.log.debug("Connecting to Web Socket ["+this._wsUrl+"]","websocket");var n=function(t,n){var i=hj.metrics.time();Object(g.a)((function(){return r(t,i,n)}),(function(){return e._closeConnection()}),m)},r=function(r,i){var o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;try{o=new WebSocket(t._wsUrl)}catch(e){return void hj.log.debug("Web socket connection ".concat(a?"retry":""," error. \n ").concat(e))}return o.onopen=function(e){if(r(o),t._onOpen.call(t,e),a){v.a.set("eventsRetrySuccess",!0),0===o.bufferedAmount&&t._ping.call(t);var n=a.reason,s=a.extraTags;hj.metrics.timeEnd("time-to-reconnect",{tag:{reason:n},start:i,extraTags:s})}},o.onmessage=function(e){t._onMessage.call(t,e)},o.onclose=function(t){e._clearPings(),e._connected=!1,hj.log.debug("Web Socket closed.","websocket");var i={message:t.reason,code:t.code,wasClean:t.wasClean};if(hj.metrics.count("session-interruption",{tag:{reason:"websocket-close"},extraTags:i}),t.wasClean&&1012!=t.code)4e3==t.code&&console.warn("Hotjar Tracking Code is out of date and this session will not be captured anymore. Please reload the page to update your Tracking Code."),e._closeConnection();else if(hj.log.warn("Websocket close was unclean: "+t.code),!e._isReconnecting){var o={reason:t.wasClean?"service-restart":"unclean-close",extraTags:i};e._isReconnecting=!0,e._connecting=!0,n(r,o)}},o.onerror=function(e){hj.log.debug("onError was called.","websocket",e),v.a.set("eventsRetrySuccess",!1),this._connected&&(this._clearPings(),this._connected=!1)},o};t._ws=r((function(e){t._ws=e})),window.addEventListener("beforeunload",this.disconnect,!1)}}),"data.HotjarWebSocket._createAndConnect"),y.prototype._onOpen=hj.tryCatch((function(){hj.log.debug("Web Socket opened.","websocket"),this._pingIntervalId=setInterval(this._ping.bind(this),this._pingInterval),this._connected=!0,this._connecting=!1,this._isReconnecting=!1,this._flush()}),"data.HotjarWebSocket._onOpen"),y.prototype._onMessage=hj.tryCatch((function(e){var t;try{t=JSON.parse(e.data)}catch(t){throw hj.log.warn("Could not parse websocket message: "+e.data),t}switch(t.type){case"SESSION_TOO_LARGE":hj.log.warn("Session became too large. Will stop sending websocket data."),s.a.items.SESSION_TOO_LARGE.set("1"),this.disconnect();break;default:hj.log.warn("Received unknown websocket message: "+e.data)}}),"data.HotjarWebSocket._onMessage");var j=function(e,t){var n=function(e){try{e&&hj.metrics.count("session-exception",{tag:{module:"compression"},extraTags:{message:e.message,name:e.name}}),t({success:!1})}catch(e){}};try{if(!function(){try{var e=new Set(hj.settings.features);return"CompressionStream"in window&&e.has("client_script.compression.pc")}catch(e){return!1}}())return n();(function(e){var t=e.getReader(),n=[],r=hj.metrics.timeWatcher();return t.read().then((function e(i){var o=i.done,a=i.value;if(r.start(),o){var s=n.reduce((function(e,t){return e+t.length}),0),c=new Uint8Array(s),u=0;return n.forEach((function(e){c.set(e,u),u+=e.length})),{time:r.end(),compressed:c}}return n.push(a),r.incr(),t.read().then(e)}))})(new ReadableStream({start:function(t){t.enqueue(e),t.close()}}).pipeThrough(new TextEncoderStream).pipeThrough(new CompressionStream("gzip"))).then((function(e){var n=e.time,r=e.compressed;t({success:!0,compressed:r,time:n})})).catch(n)}catch(e){n(e)}};function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var w=hj.tryCatch((function(e){var t,n,l,h,f,g,p="",v=void 0,m=!1,w=Object.create({events:[],storePageContent:function(t,n,r){hj.log.warnIfEmpty(t,"tryStorePageContent: content"),hj.log.warnIfEmpty(n,"tryStorePageContent: urlMD5");var i=t.length,s=function(r){var s=r.success,c=r.compressed,l=r.time;s&&l&&hj.metrics.timeEnd("pc-compression-time",{tag:{task:"process-chunks"},total:l}),e.storePageContent(s?c:t,(function(e,r){if(207===(null==r?void 0:r.status)&&"gzip error"===e[1])return hj.metrics.distr("compression-malformed",{task:"gzip",value:i,extraTags:{compressedLength:c.length}}),w.storePageContent(t,n,!0);var o=e.content_uuid;o?(m=!0,u.a.set("pageContent",{uuid:o,md5:n}),s&&i&&hj.metrics.distr("compression-ratio",{task:"page-content",value:parseFloat(Number(i/c.length).toFixed(1))})):hj.log.warn("Expecting res.content_uuid but it was not found!")}),(function(e){if(413===e.status){var t=a(i);w.write("content_size_too_large",{size:t,source:"page_visit",timestamp:o.a.now()},!1)}}),{query:s?"gzip=1":void 0})};r?s({success:!1}):j(t,s)},reportPageContent:function(e){m=!1,g=u.a.on("pageContent",(function(t){var n=t.uuid,i=t.md5,o=hj.dom.getCSSURLs().map((function(e){return{content_type:2,url:e,url_hash:hj.md5(hj.b64EncodeUnicode(e))}}));hj.log.warnIfEmpty(e,"sendReportContent: pageVisitKey"),hj.log.warnIfEmpty(n,"sendReportContent: uuid"),hj.log.warnIfEmpty(i,"sendReportContent: md5"),hj.log.warnIfEmpty(o,"sendReportContent: webResourceInfos");var a,s,c,u={page_content_url_md5:i,page_content_uuid:n,web_resource_infos:o,content_submitted:m};w.writeNewFrame((a={},s=r.a.REPORT_CONTENT,c=u,s in a?Object.defineProperty(a,s,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[s]=c,a),e).flush()}))},clearPageContent:function(){g(),u.a.set("pageContent",void 0)},setCurrentPageVisitKey:hj.tryCatch((function(e){p!==e&&(p=e,t()),w.flush()}),"data"),writeNewFrame:hj.tryCatch((function(e,n){return t(n),w.write(e),t(),w})),write:hj.tryCatch((function(e,t,n,r){var i;if(hj.isPreview)return w;if("object"===b(e))return hj.hq.each(e,(function(e,t){w.write(e,t,!0,r)})),w;var o=e;if(!r&&!w._ws.connect()){if(!w._ws.sessionTimedOutDueToInactivity||!_(o))return w;s.a.items.SESSION_RESUMED.set(!0),w._ws=new y(w.flush),hj._init.reinit(window.location.href,!0),w._ws.connect()}hj.viewport.isPageVisitStale()&&w.events.push(S(p,!1));var a=null!==(i=w.events.pop())&&void 0!==i?i:S();return n?a[o]=t:(a[o]=a[o]||[],a[o].push(t)),w.events.push(a),w}),"data"),queueEndSignal:hj.tryCatch((function(){hj.log.debug("Should send end signal to Web Socket with the next flush","websocket"),w.shouldSendEndSignal=!0}),"data"),sendEndSignal:hj.tryCatch((function(){hj.log.debug("Sending end signal to Web Socket","websocket"),w._ws.send(w._ws._msgPrefix+"end_signal"),w._ws.close(),s.a.items.HJ_SESSION.clear(),w.shouldSendEndSignal=!1}),"data"),flush:hj.tryCatch((function(){var e,r,i=c.a.get("user.id");if(v&&clearInterval(v),i||(c.a.on("user.id",w.flush),t()),w._ws.isConnected()&&i){if((r=(e=n()).length)>0){var s,u={sid:Object(d.a)(),uuid:i,viewportid:null===(s=hj.viewport)||void 0===s?void 0:s.getId(),site_id:hjSiteSettings.site_id,timestamp:o.a.now(),beta:Object(d.b)()};w._ws._msgPrefix=hj.hq.stringify(u)+"\n",E(e)&&w._ws.updateLastUserActivityTime();for(var l=0;l1&&void 0!==arguments[1])||arguments[1];return!e&&t&&hj.viewport.isPageVisitStale()&&(hj.store.recording.set("isPageVisitStale",!0),hj._init.reinit(window.location.href,!1)),{pageVisitKey:e||p}},_=function(e){return hj.hq.inArray(e,hj.hq.values(i))},E=function(e){return e.some((function(e){return Object.keys(e).some(_)}))};return t=hj.tryCatch((function(e){w.events.push(S(e))}),"data"),n=hj.tryCatch((function(){for(var e,n=w.events.length,r=[],i=[],o=[],a=0;a1){var s=[];e.autotag_recording&&(s=e.autotag_recording.filter((function(e){return"rageclick"===e.name}))),s.length>0?i.push(e):(e.clipboard&&r.push(e.clipboard),o.push(l(e)))}var c=f(i,r);return w.events=c.leftover,t(),[].concat(o,c.sendable)}),"data"),f=hj.tryCatch((function(e,t){var n=[],r=[];return hj.hq.each(t,(function(t,n){e=e.filter((function(e){if("copy"===n.action||"cut"===n.action)return n.time-e.autotag_recording[0].time>5e3}))})),hj.hq.each(e,(function(e,t){hj.time.getNow()-t.autotag_recording[0].time<5e3?n.push(t):r.push(l(t))})),{leftover:n,sendable:r}}),"data.filterRageClicks"),l=hj.tryCatch((function(e){var t;return hj.hq.each(e,(function(t,n){hj.hq.isFunction(n)&&(e[t]=n())})),e.page_visit_key=e.pageVisitKey,delete e.pageVisitKey,e.viewport_id=null===(t=hj.viewport)||void 0===t?void 0:t.getId(),"object"===b(e.mutation)&&(e.mutation=h(e.mutation)),e}),"data"),h=hj.tryCatch((function(e){var t,n="";if("object"===b(e))return hj.hq.each(e,(function(r,i){"object"===b(i.c)&&(hj.hq.each(i.c,(function(i,o){"object"===b(o.attributes)&&"string"==typeof o.attributes.style&&(o.attributes.style===t&&o.id===n&&(e[r].c[i]=null),t=o.attributes.style,n=o.id)})),e[r].c=e[r].c.filter((function(e){return e})),e[r].c.length||delete e[r].c),void 0===e[r].a&&void 0===e[r].b&&void 0===e[r].c&&void 0===e[r].d&&(e[r]=null)})),e.filter((function(e){return e}))}),"data"),w})),S=n(129);function _(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:3;I(this,e),this.viewport=t,this.siteId=n,this.maxRetries=r}var t,n,r;return t=e,(n=[{key:"storePageContent",value:function(e,t,n){return R.post(e,t,n,{contentType:"text"})}},{key:"send",value:function(e,t){var n=(_hjSettings.eventsHost||(_hjSettings.eventsHost="https://events.hotjar.io"),_hjSettings.eventsHost+"/"),r={uuid:t,viewportid:this.viewport.getId(),site_id:this.siteId},i=hj.hq.stringify(r)+"\n"+hj.hq.stringify(e),o=!1,a=function e(){return Object(O.post)(n,i,(function(e){hj.log.debug("Events sent successfully to host","events",e),o=!1,v.a.set("eventsRetrySuccess",!0)}),(function(){hj.log.debug("Events failed to send to host, retrying","events"),v.a.set("eventsRetrySuccess",!1),o||(o=!0,Object(g.a)(e,null,k))}),{contentType:"text"})};a()}}])&&N(t.prototype,n),r&&N(t,r),e}();T=hj.features.hasFeature("ingestion.http")?h(new A(hj.viewport,hj.settings.site_id)):w(new C),hj.eventStream=T},function(e,t,n){"use strict";n.r(t);var r=["button","reset","submit"],i=["password","email","hidden"],o=["default-style","content-type","refresh"],a=["style","script"],s=["address","address1","address2","addressline1","addressline2","cell","cellphone","dateofbirth","dob","email","familyname","firstname","fullname","lastname","mobile","name","phone","postalcode","postcode","surname","tel","telephone","username","zip","zipcode","nationalinsurancenumber","nin","ppsn","security","securitynum","socialsec","socialsecuritynumber","socsec","ssn","adgangskode","authpw","contrasena","contrasenya","contraseña","contrasinal","cyfrinair","fjalëkalim","focalfaire","geslo","hasło","heslo","jelszó","kennwort","kωδικός","kωδικόςπρόσβασης","lozinka","lykilorð","lösenord","motdepasse","parakalw","parola","paroladordine","parole","parool","pasahitza","pass","passord","password","passwort","pw","pwd","pword","pwrd","salasana","sapwd","senha","sifre","slaptažodis","userpw","userpwd","wachtwoord","лозинка","парола","пароль","פּאַראָל","كلمهالسر","पासवर्ड","パスワード","密码","密碼","암호","cc","cccsc","cccvc","cccvv","ccexp","ccexpiry","ccexpmonth","ccexpyear","ccname","ccnum","ccnumber","cctype","creditcard","csc","cvc","cvv","exp","accountnum","accountnumber","bic","iban","ibanaccountnum","ibanaccountnumber","pin","pinno","pinnum","secq","secret","secretq","secretquestion","securityq","securityquestion","sortcode","swift"],c=n(137),u=/\d+/,l=new RegExp(u.source,"g"),h=/[^@\s]+@[^@\s]+\.[^@\s]+/,d=new RegExp(h.source,"g"),f=/([+(]{0,2}\d[-_ ()/]{0,4}){9,}/,g=new RegExp(f.source,"g"),p=function(){return Math.random()<.5?-1:1},v=hj.tryCatch((function(e){return e&&e.parentNode?"#document-fragment"===e.parentNode.nodeName?e.parentNode.host:e.parentNode:null}),"hj.privacy.getParentNode"),m=hj.tryCatch((function(e){var t=Object.prototype.toString.call(e);return-1!==["[object HTMLDocument]","[object Document]"].indexOf(t)}),"hj.privacy._isDocument"),y=hj.tryCatch((function(e){return f.test(e)}),"hj.privacy._hasCCNumOrSSN"),j=hj.tryCatch((function(e){return e.indexOf("@")>-1&&h.test(e)}),"hj.privacy._hasEmail"),b=hj.tryCatch((function(e){return u.test(e)}),"hj.privacy._hasDigitSequence"),w=/(?:\d{1,3}\.){3}\d{1,3}/,S=/(?:[A-F0-9]{1,4}:){7}[A-F0-9]{1,4}/,_=hj.tryCatch((function(e){return w.test(e)||S.test(e)}),"hj.privacy._hasIPAddress"),E=hj.tryCatch((function(e){return e.value||e.textContent}),"hj.privacy._getTextFromElement"),C=hj.tryCatch((function(e){if(e&&"string"==typeof e)return Boolean(e.match(/^\s*data:(image\/[a-z]+|application\/octet-stream);base64,([A-Za-z0-9+/=])+\s*$/))}),"hj.privacy._isBase64Value"),O=/\S+/g,I=/\s?background[^;]+;?\s?/g,N=hj.tryCatch((function(e,t){return new Array((e||16)+1).join(t||"*")}),"Suppresser.createReplacementStr"),T=hj.tryCatch((function(e){var t={};return e.style&&e.style.width||(t.width=e.offsetWidth+"px"),e.style&&e.style.height||(t.height=e.offsetHeight+"px"),t}),"Suppresser.getSuppressedImageSize"),k=hj.tryCatch((function(e){return e&&e.length?e.replace(O,(function(e){return N(Math.max(1,e.length+p()))})):N(16+p())}),"Suppresser.textContentHandler"),R=hj.tryCatch((function(e){var t=e;return t&&t.length&&(hj.settings.anonymize_emails&&(t=t.replace(d,k)),hj.settings.anonymize_digits&&t&&t.length&&(t=t.replace(l,k)),t=t.replace(g,(function(e){return e.replace(l,k)}))),t}),"Suppresser.textContentHandler"),A=hj.tryCatch((function(e){var t=e?16:10;return new Date(2839968e5).toISOString().substring(0,t)}),"Suppresser.getLocalDateStr"),x=hj.tryCatch((function(e){if(e)return e.replace(I,"")}),"Suppresser.imageStyleHandler"),P={text:k,full:k,partial:R,textContent:R,imgStyle:x,password:function(){return N()},number:function(){return N(16,"1")},date:function(){return A(!1)},datetime:function(){return A(!0)},"datetime-local":function(){return A(!0)},time:function(){return"00:00"},month:function(){return"1979-01"},week:function(){return"1979-W1"}},D={getSuppressedText:function(e,t){var n=P[e];return n?n(t):k(t)},getSuppressedImageNode:function(e){var t={src:"",meta:{style:T(e)}},n=x(e.getAttribute("style"));return n&&(t.style=n),t},textHandler:k};function M(e){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var L=hj.tryCatch((function(e){var t=e.tagName.toLowerCase(),n=e.type.toLowerCase();return"input"===t&&i.indexOf(n)>-1}),"hj.privacy._isSupressedInputType"),U=hj.tryCatch((function(e){var t=e.tagName.toLowerCase(),n=e.type.toLowerCase();return"input"===t&&r.indexOf(n)>-1}),"hj.privacy._isAllowlistedInputType"),H=hj.tryCatch((function(e){if(e&&e.tagName){var t=e.tagName.toLowerCase();return a.indexOf(t)>-1}}),"hj.privacy._isAllowlistedElement"),q=hj.tryCatch((function(e){var t=e&&e["http-equiv"]&&e["http-equiv"].value;return!t||o.some((function(e){return!!t.match(e)}))}),"hj.privacy._isValidHttpEquiv"),V=hj.tryCatch((function(e){return[e.name,e.id].map((function(e){return e.replace(/[\s_-]+/g,"").toLocaleLowerCase()})).some((function(e){return s.indexOf(e)>-1}))}),"hj.privacy._hasSuppressedNameOrId"),W=hj.tryCatch((function(e){return"object"===M(e.attributes)&&(void 0!==e.attributes["data-hj-suppress"]||void 0!==e.attributes["data-hj-masked"])||"string"==typeof e.className&&e.className&&e.className.indexOf("data-hj-suppress")>-1}),"hj.privacy._isExplicitlySuppressed"),z=hj.tryCatch((function(e){for(;e&&!m(e);){if(W(e))return!0;e=v(e)}return!1}),"hj.privacy._isSelfOrAncestorSuppressed"),F=hj.tryCatch((function(e){return hj.settings.recording_capture_keystrokes&&(e.attributes&&void 0!==e.attributes["data-hj-whitelist"]||e.className&&e.className.indexOf("data-hj-whitelist")>-1||e.attributes&&void 0!==e.attributes["data-hj-allow"]||e.className&&e.className.indexOf("data-hj-allow")>-1)}),"hj.privacy._isUserAllowlisted"),B=[L,V,function(e){return y(E(e))},function(e){return j(E(e))}],G=hj.tryCatch((function(e){return B.some((function(t){return t(e)}))}),"hj.privacy._shouldSuppressInputOrTextarea"),Y=[function(e){return!(!e||!hj.settings.anonymize_digits)&&b(e)},function(e){return!(!e||hj.settings.anonymize_digits)&&y(e)},function(e){return!(!e||!hj.settings.anonymize_emails)&&("string"==typeof e&&j(e))}],K=hj.tryCatch((function(e,t){return(!t||!H(t))&&Y.some((function(t){return t(e)}))}),"hj.privacy._shouldSuppressTextContent"),X={isRiskyNotAllowlistedOrSuppressedElement:hj.tryCatch((function(e,t){if(void 0===e||!e||void 0===e.tagName)return!1;if(c.a.get()||hj.settings.suppress_all)return!0;if(hj.settings.suppress_text)return"IMG"!==e.tagName||!t||"src"!==t.name&&"style"!==t.name&&"srcset"!==t.name||z(e);var n="TEXTAREA"===e.tagName||"INPUT"===e.tagName&&!U(e);return n&&F(e)?G(e):n||z(e)}),"hj.privacy.isRiskyNotAllowlistedOrSuppressedElement"),isAttributeSuppressable:hj.tryCatch((function(e,t,n,r){var i={INPUT:{attrs:["value","placeholder"]},TEXTAREA:{attrs:["value","placeholder"]},A:{attrs:["href"],shouldSuppressAttrValueCheck:function(e){return!(e&&!!e.match(/^data:/))}},OPTION:{attrs:["label","value"]},PROGRESS:{attrs:["value"]},OPTGROUP:{attrs:["label"]},IMG:{attrs:["alt"]},DIV:{attrs:["title"]},SPAN:{attrs:["title"]},P:{attrs:["title"]},META:function(e,t,n){switch(e){case"content":return(!n||!n.name||"viewport"!==n.name.value)&&!(n&&n["http-equiv"]&&q(n));case"name":return"viewport"!==t;case"http-equiv":return!q(n);case"charset":return!1;default:return!0}}}[e];return void 0!==i&&("function"==typeof i?i(t,n,r):!(i.attrs.indexOf(t)<0)&&(void 0===i.shouldSuppressAttrValueCheck||i.shouldSuppressAttrValueCheck(n)))}),"hj.privacy.isAttributeSuppressable"),hasPotentialPIIData:hj.tryCatch((function(e,t){var n=!t||m(t)?null:t;return K(e,n)}),"hj.privacy.hasPotentialPIIData"),getSuppressedText:hj.tryCatch((function(e,t){return D.getSuppressedText(e,t)}),"hj.privacy.getSuppressedText"),getSuppressedTextNode:hj.tryCatch((function(e,t){var n=e.parentNode||null,r=t||X.isRiskyNotAllowlistedOrSuppressedElement(n),i=r||n&&"textarea"===n.type?"full":"partial";return{content:(r=!H(n)&&!!e.textContent&&!C(e.textContent)&&(r||X.hasPotentialPIIData(e.textContent,n)))?D.getSuppressedText(i,e.textContent):e.textContent,shouldSuppressNode:Boolean(r)}}),"hj.privacy.getSuppressedTextNode"),getSuppressedNodeAttribute:hj.tryCatch((function(e,t,n){var r=t.value,i=t.name,o=n;if("data-hj-suppressed"!==i)return"IMG"!==e.tagName||"src"!==i&&"srcset"!==i&&"style"!==i||(o=X.isRiskyNotAllowlistedOrSuppressedElement(e,t),X.isRiskyNotAllowlistedOrSuppressedElement(e,t)&&(i="data-hj-suppressed",r=D.getSuppressedImageNode(e))),!C(r)&&X.isAttributeSuppressable(e.tagName,i,r,e.attributes)&&((o=o||X.isRiskyNotAllowlistedOrSuppressedElement(e))||"META"===e.tagName?r=D.getSuppressedText("full",r):X.hasPotentialPIIData(r)&&(r=D.getSuppressedText("partial",r))),{name:i,value:r,shouldSuppressNode:o}}),"hj.privacy.getSuppressedTextNode"),getSuppressedNode:hj.tryCatch((function(e,t){for(var n={},r=t,i=0;i=o.maxTaskTime&&c0){var i=t.adoptedStyleSheets.reduce((function(e,r){for(var i=[],o=0;o1){var a,s=window.hjBootstrapCalled.filter((function(e,t){return window.hjBootstrapCalled.indexOf(e)===t})),c="You have "+window.hjBootstrapCalled.length+" tracking scripts installed on your site. ",u=2===window.hjBootstrapCalled.length?"script as this":"scripts as these",l=!!window.dataLayer;s.length>1?(a=c+"Please remove the duplicate "+u+" will cause issues.",Object(r.a)({title:"Multiple different Hotjar scripts detected",message:a,status:"bad"}),e._reportVerificationResults(i,"multiple_codes",{expected:String(hj.verifyInstall),actual:s,gtm:!1})):l?(a=c+"If you've installed Hotjar through GTM - please remove the duplicate "+u+" will cause issues.",e._reportVerificationResults(i,"multiple_codes",{expected:String(hj.verifyInstall),actual:s,gtm:!0}),Object(r.a)({title:"Multiple Hotjar scripts detected",message:a,status:"bad"})):hj.verifyInstall===hj.settings.site_id?(a=c+"This will not affect data collection, but we do suggest removing redundant scripts.",e._reportVerificationResults(i,"warning",{expected:String(hj.verifyInstall),reason:"multiple scripts"}),Object(r.a)({title:"Multiple Hotjar scripts detected",message:a,status:"warning"})):o();var h="Passed Site ID: "+hj.verifyInstall+" contains multiple scripts "+window.hjBootstrapCalled.join(", ");hj.exceptions.log(new Error(h),"init._verifyInstallation")}else hj.verifyInstall===hj.settings.site_id?(e._sendVerifyInstallation((function(e){e.success||hj.exceptions.log(new Error("Verify installation endpoint failed"),"init._verifyInstallation")})),Object(r.a)({title:"Hotjar installation verified",message:"The Hotjar tracking code has been properly installed on this page. Browse your site in this window if you wish to verify installation on any other pages.",status:"good"}),e._reportVerificationResults(i,"ok")):o()}}};return e._browserIsSupported=hj.tryCatch((function(){return!(Object(w.d)()<11)||(hj.log.debug("IE < 11 is not supported.","init"),"1"===hj.url.getParameter("hjVerifyInstallation")&&Object(r.a)({title:"Hotjar installation cannot be verified.",message:"Sorry – your browser is not supported.",status:"bad"}),!1)}),"init"),e._checkDebug=hj.tryCatch((function(){var e=hj.url.getParameter(j.a.items.DEBUG_FLAG.getKey());e&&("1"===e||"true"===e?hj.debug.on(!0):hj.debug.off()),"true"===j.a.items.DEBUG_FLAG.get()&&hj.debug.on(!1)}),"init"),e._checkEndSignal=hj.tryCatch((function(){"1"===hj.url.getParameter("hjEndSignal")&&hj.eventStream.queueEndSignal()}),"init"),e._canRun=hj.tryCatch((function(){return-1===navigator.userAgent.indexOf("Hotjar")&&(j.a.canUseCookies()?j.a.canUseLocalStorage()?!!j.a.canUseSessionStorage()||(hj.log.debug("sessionStorage is not available","init"),!1):(hj.log.debug("localStorage is not available","init"),!1):(hj.log.debug("Cookies are not enabled"),!1))}),"init"),e._configureStateChangeListenMode=function(){var e="manual";hj.settings&&hj.settings.state_change_listen_mode&&(e=hj.settings.state_change_listen_mode),hj.locationListener.setMode(e)},e.run=hj.tryCatch((function(t){hj.currentUrl=t,hj.scriptLoaded=!0,e._browserIsSupported()&&(e._checkDebug(),e._checkEndSignal(),e._canRun()?e._run(t):hj._init._verifyInstallation())}),"init"),e._run=hj.tryCatch((function(t){if("1"!==navigator.doNotTrack&&"1"!==window.doNotTrack&&"1"!==navigator.msDoNotTrack||(hj.log.debug("Visitor has opted out of tracking.","init"),hj.optOut=!0),hj.log.debug("Site settings","init",hj.settings),function(e){k.a.set(e)}(hj.currentUrl),f(),hj.settings.site_id){hj.isIncludedInSample=y.a;var n=Object(m.b)();n&&!n.existing&&p.a.setFirstSeen(),b.userAttributes.init(),T.init(),e._configureStateChangeListenMode(),e._runPage(t),e._verifyInstallationAuto(),e._verifyInstallation(),hj.command.activate(),"1"===hj.url.getParameter("hjIncludeInSample")&&Object(r.a)({title:"Hotjar tracking active.",message:"Hotjar tracking is active for your session.",status:"good"})}else hj.log.warn("Script execution for halted due to no site id: ".concat(window.location.href),"init")}),"init"),e.reinit=hj.tryCatch((function(t,n){hj.currentUrl=t,hj.widget.emptyMatchingWidgets(),hj.metrics.reset(),n&&(j.a.items.HAS_CACHED_USER_ATTRIBUTES.clear(),j.a.localStorage.USER_ATTRIBUTES.clear(),g.a.reset()),e._runPage(t)}),"init"),e._runPage=hj.tryCatch((function(e){Object(v.c)(),hj.optOut||(Object(i.b)(e)||Object(y.a)("init._runPage")&&hj.visitData.track(e),hj.visitData.trackView()),hj.hq.each(hj.loader.getModules(),(function(t,n){hj.optOut&&!n.nonTracking||(hj.log.debug("Running module","init",n.name),n.module.run(e))})),hj.widget.runLatestMatchingWidget(),hj.widget.runInlineEmbeddedWidgets()}),"init"),e}),"init")(),hj.hq(document).ready((function(){hj.log.debug("Document is ready. Initializing...","init"),hj.scriptContextId=Object(s.a)(),hj._init.run(location.href),(hj.metrics.getConfig("browser").inLab||hj.metrics.getState("isMetricsEnabled"))&&Object(o.a)(a.e.BROWSER_PERF)})))}),"init")()},,,function(e,t,n){"use strict";n.r(t);var r=n(60),i=n(128),o=n(71);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:"https://ask.hotjar.io/";return{v1:"".concat(e,"api/v1"),v2:"".concat(e,"api/v2")}}(_hjSettings.askUrl);n(228),n(229),function(){try{hj.request=function(){var e={},t={granted:null,callbacks:[],inProgress:!1},n=function(){return Object(o.a)(!0)||""},s=[],u=!1;function l(e,t,n,r){s.push([e,t,n,r]),u||function e(){if(0!==s.length){u=!0;var t=a(s.shift(),4),n=t[0],r=t[1],i=t[2],o=t[3];hj.ajax.post(n,r,(function(t){try{i&&i(t)}finally{e()}}),(function(t){try{o&&o(t)}finally{e()}}))}else u=!1}()}function h(e,t,i,o){var a=hj.ui.getWindowSize();i.window_width=i.window_width||a.width,i.window_height=i.window_height||a.height,i.user_id=t?n():void 0,i.url=document.location.href,r.userAttributes.flush((function(t,n,a){t?i.identify_user_id=r.userAttributes.get("user_id")||null:(i.identify_user_id=n,i.identify_attributes=a),l(e,i,(function(e){o&&o(e)}))}))}return e.getConsentGranted=hj.tryCatch((function(e){var r,i="?";null!==t.granted&&e?e(t.granted):(e&&t.callbacks.push(e),t.inProgress||(i+="user_id="+n(),t.inProgress=!0,hj.ajax.get("".concat(hj.apiUrlBase,"/sites/").concat(hj.settings.site_id,"/consent").concat(i),(function(e){for(t.granted=!!e.success&&-1!==e.scopes.indexOf("associate"),t.inProgress=!1;r=t.callbacks.pop();)hj.tryCatch(r,"ConsentData")(t.granted)}),(function(){for(t.granted=!1,t.inProgress=!1;r=t.callbacks.pop();)hj.tryCatch(r,"ConsentData")(t.granted)}))))}),"hj.request.getConsentGranted"),e.grantConsent=hj.tryCatch((function(e,r){e.user_id=n(),e.action="grant_for_response",l("".concat(hj.apiUrlBase,"/sites/").concat(hj.settings.site_id,"/consent/associate"),e,(function(e){t.granted=!!e.success,r&&hj.tryCatch(r,"GrantConsent")(t.granted)}),(function(){t.granted=!1}))}),"hj.request.getConsent"),e.saveFeedbackResponse=hj.tryCatch((function(e,t,n,r){e.action="feedback_widget_response",hj.event.signal("feedback.send",{id:t}),h("".concat(c.v1,"/client/sites/").concat(hj.settings.site_id,"/feedback/").concat(t),n,e,(function(n){var i;if(hj.tryCatch(r,"Data")(n),"number"==typeof(null===(i=e.response)||void 0===i?void 0:i.emotion)){var o={emotion:e.response.emotion,id:t,response_id:n.feedback_response_id};hj.event.signal("feedback.sentiment",o)}}))}),"data"),e.savePollResponse=hj.tryCatch((function(e,t,n,r){var o=hj.widget.pollsResponsesUUID[e];n.action="create_or_update_poll_response";var a=i.sessionEvents.get();a&&(n.events=hj.hq.stringify(a)),h("".concat(c.v2,"/client/sites/").concat(hj.settings.site_id,"/poll/").concat(e,"/response/").concat(o),t,n,(function(t){t.is_new_response&&hj.event.signal("poll.send",{id:e,response_id:t.poll_response_id}),null==r||r(t)}))}),"data"),e.completePollResponse=hj.tryCatch((function(e,t){var n=hj.widget.pollsResponsesUUID[e];l("".concat(c.v2,"/client/sites/").concat(hj.settings.site_id,"/poll/").concat(e,"/response/").concat(n),{action:"finish_poll_response",completion_time_from_engagement_ms:t.fromEngagement,completion_time_from_render_ms:t.fromRender})}),"data"),e}()}catch(e){hj.exceptions.log(e,"hj.request")}}(),n(129),n(106),n(250),n(230)},function(e,t,n){"use strict";n.r(t);var r=n(16),i=n(71),o={getAsNumber:function(){var e=Object(i.a)(!0);return(parseInt(e.slice(-10),16)+1)/Math.pow(2,40)},compareRatio:hj.tryCatch((function(e,t){return o.getAsNumber()*(t?100:1)<=e}),"identifier.compareRatio")},a=["af","ar","bg","ca","cs","cy","da","de","el","en","es","et","fa","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","mis","nb","nl","pl","pt_BR","pt","ro","ru","sk","sl","sq","sr","sv","sw","th","tl","tr","uk","vi","zh_CN","zh_TW"];hj.tryCatch((function(){var e,t,n,i,s,c,u;hj.widget=(n=["ar","fa","he"],i=[],s=[],c=[],u=!1,(t={}).ctrl=void 0,t.data=void 0,t.model={},t.activeLanguageDirection="ltr",t.widgetAttributePrefix="_hj-f5b2a1eb-9b07",t.ctaLinks={feedback:"https://www.hotjar.com/incoming-feedback?utm_source=client&utm_medium=incoming_feedback&utm_campaign=insights",polls:"https://www.hotjar.com/feedback-surveys?utm_source=client&utm_medium=poll&utm_campaign=insights",surveys:"https://www.hotjar.com/?utm_source=client&utm_medium=survey&utm_campaign=insights"},t.getActiveLanguage=function(){var t;return null!==(t=e)&&void 0!==t?t:"en"},t.addMatchingWidget=function(e,n,r,a,c,l,h){if(void 0===a||hj.isPreview||o.compareRatio(a,!0)){var d={type:e,id:n,created:r,runCallback:c,removeCallback:l,isInlineEmbedded:h};u?t.setActiveWidget(d):(h?s:i).push(d)}else hj.log.debug("Session identifier not in targeting percentage. Widget will not match.","targeting")},t.clearWidget=hj.tryCatch((function(){hj.hq("#_hj_poll_container,#_hj_feedback_container,._hj-widget-container").length>0&&(hj.log.debug("Removing previously shown widget from DOM","widgets"),hj.hq("#_hj_poll_container,#_hj_feedback_container,._hj-widget-container").remove())}),"widgets"),t.disableSubmit=hj.tryCatch((function(){hj.widget.ctrl.find("#_hj-f5b2a1eb-9b07_action_submit").addClass("_hj-f5b2a1eb-9b07_btn_disabled")}),"common"),t.emptyMatchingWidgets=function(){i=[],s=[],c.forEach((function(e){e.disconnect()})),c=[],hj.rendering.clearAllAbandonEvents(),u=!1},t.enableSubmit=hj.tryCatch((function(){hj.widget.ctrl.find("#_hj-f5b2a1eb-9b07_action_submit").removeClass("_hj-f5b2a1eb-9b07_btn_disabled")}),"common"),t.renderLegal=hj.tryCatch((function(e){var n=hj.settings.legal_name||"",r=hj.settings.privacy_policy_url||"",i="";return e&&""!==n&&""!==r&&(i=hj.rendering.renderTemplate('',{p:t.widgetAttributePrefix,legalName:n,privacyPolicyUrl:new hj.rendering.TrustedString(r)})),i})),t.enterFullScreen=hj.tryCatch((function(){var e,n;t.isPhoneOrTablet()&&((e=hj.hq("body")).addClass("_hj-f5b2a1eb-9b07_position_fixed"),0===hj.hq("#hotjar-viewport-meta").length&&((n=document.createElement("meta")).id="hotjar-viewport-meta",n.name="viewport",n.content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no",document.getElementsByTagName("head")[0].appendChild(n)),e.addClass("_hj-f5b2a1eb-9b07_fullscreen_page"))}),"common"),t.exitFullScreen=hj.tryCatch((function(){hj.hq("#hotjar-viewport-meta").remove(),hj.hq("body").removeClass("_hj-f5b2a1eb-9b07_fullscreen_page").removeClass("_hj-f5b2a1eb-9b07_position_fixed")}),"common"),t.isPhoneOrTablet=hj.tryCatch((function(){return hj.widget.isVeryNarrowScreen()||"phone"===Object(r.a)()||"tablet"===Object(r.a)()}),"common"),t.isVeryNarrowScreen=hj.tryCatch((function(){return hj.hq(window).width()<=450}),"common"),t.removeActiveWidget=function(e){hj.widgetDelay.clear(),e=e||function(){},t.activeWidget?(t.activeWidget.removeCallback&&t.activeWidget.removeCallback(e),delete t.activeWidget):e()},t.runLatestMatchingWidget=function(){var e;i.forEach((function(t){(!e||e.created-1?"rtl":"ltr",hj.widget.isActiveLanguageDirectionRtl="rtl"===hj.widget.activeLanguageDirection}),"common"),t.registerObserverForInlineWidget=function(e){c.push(e)},t),hj.widgetDelay=function(){var e={},t=null;return e.clear=hj.tryCatch((function(){clearTimeout(t),t=null}),"hj.widgetDelay.clear"),e.set=hj.tryCatch((function(n,r){e.clear(),t=setTimeout(n,r)}),"hj.widgetDelay.set"),e}()}),"widgets")()}]);